Skip to content
Commit f3a14d37 authored by Mike Frysinger's avatar Mike Frysinger Committed by Wolfgang Denk
Browse files

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: default avatarMike Frysinger <vapier@gentoo.org>
parent e9319f11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment