summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-04-06 10:33:32 -0400
committerTom Rini <trini@konsulko.com>2022-04-19 14:52:34 -0400
commit24c904f309f820f8aef4d6364e7bf584d70c0cad (patch)
tree503488f56a55410f38ddf9305e2fa0edc22bb541 /Kconfig
parentbdf9831226788aaefab820e2feb054eb8f29fa1f (diff)
Convert CONFIG_SYS_MEM_TOP_HIDE to Kconfig
This converts the following to Kconfig: CONFIG_SYS_MEM_TOP_HIDE Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index b45e60a75b..e269856f7e 100644
--- a/Kconfig
+++ b/Kconfig
@@ -489,6 +489,17 @@ config STACK_SIZE
by the UEFI sub-system. On some boards initrd_high is calculated as
base stack pointer minus this stack size.
+config SYS_MEM_TOP_HIDE
+ hex "Exclude some memory from U-Boot / OS information"
+ default 0x0
+ help
+ If set, this specified memory area will get subtracted from the top
+ (end) of RAM and won't get "touched" at all by U-Boot. By fixing up
+ gd->ram_size the OS / next stage should gets passed the now
+ "corrected" memory size and won't touch it either.
+ WARNING: Please make sure that this value is a multiple of the OS
+ page size.
+
config SYS_HAS_SRAM
bool
default y if TARGET_PIC32MZDASK