aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-06-27 09:29:44 +0100
committerTom Rini <trini@konsulko.com>2024-06-28 13:54:52 -0600
commitc2484b43bf5daa8ef38476f2f676fd24e406b721 (patch)
tree21c9ada0856243e567dac303d6b6d4a3c88926d0 /configs
parent092b6ec65c604972d80ba0b3ac2ff44e00adb238 (diff)
downloadu-boot-c2484b43bf5daa8ef38476f2f676fd24e406b721.zip
u-boot-c2484b43bf5daa8ef38476f2f676fd24e406b721.tar.gz
u-boot-c2484b43bf5daa8ef38476f2f676fd24e406b721.tar.bz2
x86: Set a board-size limit for chromebook_link
Set a size limit for this board so that we get a build error if it grows too much. Note that the limit is approximately, since it does not include the FDT, microcode and fdtmap, which can change in size. However this board is fairly stable, so overflowing this limit will likely result in the image not fitting in the ROM space available for U-Boot. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs')
-rw-r--r--configs/chromebook_link_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/chromebook_link_defconfig b/configs/chromebook_link_defconfig
index a9f91dd..1a72fd1 100644
--- a/configs/chromebook_link_defconfig
+++ b/configs/chromebook_link_defconfig
@@ -15,6 +15,8 @@ CONFIG_DEBUG_UART=y
CONFIG_HAVE_MRC=y
CONFIG_SMP=y
CONFIG_HAVE_VGA_BIOS=y
+CONFIG_HAS_BOARD_SIZE_LIMIT=y
+CONFIG_BOARD_SIZE_LIMIT=630000
CONFIG_FIT=y
CONFIG_BOOTSTAGE=y
CONFIG_BOOTSTAGE_REPORT=y