summaryrefslogtreecommitdiff
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-08-02 14:33:27 +0300
committerTom Rini <trini@konsulko.com>2022-08-12 23:10:50 +0300
commit40ed7be4af52bb70ef496c4f20259baff9fcdd38 (patch)
treefff0d4e6b362d928658824c0974c83d7b51f41aa /lib/Kconfig
parentff4e87c030bd62d643b0cbd86e7ff893caa97d1b (diff)
downloadu-boot-40ed7be4af52bb70ef496c4f20259baff9fcdd38.tar.xz
Convert CONFIG_SYS_FDT_PAD to Kconfig
This converts the following to Kconfig: CONFIG_SYS_FDT_PAD Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index e888c29245..6121c80dc8 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -744,6 +744,16 @@ config OF_LIBFDT_OVERLAY
help
This enables the FDT library (libfdt) overlay support.
+config SYS_FDT_PAD
+ hex "Maximum size of the FDT memory area passeed to the OS"
+ depends on OF_LIBFDT
+ default 0x13000 if FMAN_ENET || QE || U_QE
+ default 0x3000
+ help
+ During OS boot, we allocate a region of memory within the bootmap
+ for the FDT. This is the size that we will expand the FDT that we
+ are using will be extended to be, in bytes.
+
config SPL_OF_LIBFDT
bool "Enable the FDT library for SPL"
depends on SPL_LIBGENERIC_SUPPORT