diff options
author | Tom Rini <trini@konsulko.com> | 2022-03-30 18:07:11 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-08 09:05:19 -0400 |
commit | 95b641756cf0af009f8f74be5f57de84acc58d51 (patch) | |
tree | dbf6d6274716b032c1cd465bbf65cf6e6b4664ff /Kconfig | |
parent | 03a8a797e5dccaffe172d3b5224bc3c3fcd304d6 (diff) | |
download | u-boot-95b641756cf0af009f8f74be5f57de84acc58d51.zip u-boot-95b641756cf0af009f8f74be5f57de84acc58d51.tar.gz u-boot-95b641756cf0af009f8f74be5f57de84acc58d51.tar.bz2 |
Convert CONFIG_BOARD_SIZE_LIMIT to Kconfig
This converts the following to Kconfig:
CONFIG_BOARD_SIZE_LIMIT
To do this, introduce CONFIG_HAS_BOARD_SIZE_LIMIT.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'Kconfig')
-rw-r--r-- | Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -395,6 +395,23 @@ config BUILD_TARGET special image will be automatically built upon calling make / buildman. +config HAS_BOARD_SIZE_LIMIT + bool "Define a maximum size for the U-Boot image" + default y if RCAR_GEN3 + help + In some cases, we need to enforce a hard limit on how big the U-Boot + image itself can be. + +config BOARD_SIZE_LIMIT + int "Maximum size of the U-Boot image in bytes" + default 1048576 if RCAR_GEN3 + depends on HAS_BOARD_SIZE_LIMIT + help + Maximum size of the U-Boot image. When defined, the build system + checks that the actual size does not exceed it. This does not + include SPL nor TPL, on platforms that use that functionality, they + have a separate option to restict size. + config SYS_CUSTOM_LDSCRIPT bool "Use a custom location for the U-Boot linker script" help |