summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-04-08 13:33:14 -0400
committerTom Rini <trini@konsulko.com>2022-04-08 13:33:14 -0400
commit909d2120e27964a9cfdc8d254cd8fa5a0e1345a7 (patch)
tree0e64d4838989cff35a0cc14dbfbcb6a5a37667c3 /Kconfig
parent03a8a797e5dccaffe172d3b5224bc3c3fcd304d6 (diff)
parent2fc0995cc05cc55bee79f387d1e83571539b0b3e (diff)
Merge branch '2022-04-08-Kconfig-updates-and-dead-code-removal'
- Migration of more symbols from board config.h files to defconfig - Remove unused network drivers
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index 6b1ddfc549e..74a1013e4c4 100644
--- a/Kconfig
+++ b/Kconfig
@@ -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