]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Makefile: allow boards to check file size limits
authorMike Frysinger <vapier@gentoo.org>
Thu, 14 Oct 2010 02:58:23 +0000 (22:58 -0400)
committerWolfgang Denk <wd@denx.de>
Tue, 19 Oct 2010 21:28:53 +0000 (23:28 +0200)
commitf3a14d377e2fb4e48026810fbf67e189a5e5f515
treebbc7fb26277b62bd6bd2dd9bcb1fe3f6c4025902
parente9319f111d366294b9a1e8b1f66875242a5de3dd
Makefile: allow boards to check file size limits

Boards often have a reserved size limit on the flash where they're stored.
Sometimes during upgrades or config changes, those limits are exceeded,
but no one notices until they try to upgrade and the limit screws things
up.  Either not enough of U-Boot is written to flash (and so the reboot
fails), or too much is written (and so things after it get clobbered).

So allow boards to declare a size limit (in bytes) and have the build
system check it while building.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Makefile