diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2020-09-25 21:12:56 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-10-22 16:54:52 +0300 |
commit | 2dfdd0c4de48d261a72905a61704d4919587e45b (patch) | |
tree | 476af2220617626c80a608c12cbdbde72a19fd5e /configs/firefly-rk3288_defconfig | |
parent | 39565cc2a9f9db1cfefed61804fc5812d0ed1624 (diff) | |
download | u-boot-2dfdd0c4de48d261a72905a61704d4919587e45b.tar.xz |
Kconfig: Use hex values for CONFIG_{SPL,TPL}_SIZE_LIMIT
CONFIG_{SPL,TPL}_SIZE_LIMIT are defined as hex (SPL_SIZE_LIMIT was
converted in b51882d0 ("spl: Convert CONFIG_SPL_SIZE_LIMIT to hex"), but
there are still places that reference integer values. Change those to hex
as well. Also, update the Makefile to check for 0x0 instead of 0.
This also fixes the following build error when CONFIG_SPL_SIZE_LIMIT
is set by menuconfig to 0x0:
...
spl/u-boot-spl.bin exceeds file size limit:
limit: 0 bytes
actual: 0x80f0 bytes
excess: 0x80f0 bytes
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs/firefly-rk3288_defconfig')
-rw-r--r-- | configs/firefly-rk3288_defconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/firefly-rk3288_defconfig b/configs/firefly-rk3288_defconfig index dc290d5ec8..6c04123b2d 100644 --- a/configs/firefly-rk3288_defconfig +++ b/configs/firefly-rk3288_defconfig @@ -6,7 +6,7 @@ CONFIG_ENV_OFFSET=0x3F8000 CONFIG_ROCKCHIP_RK3288=y CONFIG_TARGET_FIREFLY_RK3288=y CONFIG_SPL_STACK_R_ADDR=0x80000 -CONFIG_SPL_SIZE_LIMIT=262144 +CONFIG_SPL_SIZE_LIMIT=0x40000 CONFIG_DEBUG_UART_BASE=0xff690000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_DEFAULT_DEVICE_TREE="rk3288-firefly" |