diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2020-07-24 14:12:09 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-08-06 14:26:35 -0400 |
commit | 7be19313b3804576a421beecc005112b3b8b5cb0 (patch) | |
tree | 890229e8ffd88dfc392f2aef6e88e0a250069e2a /Kconfig | |
parent | 99c69538093143984edf0bcebdadc0a6d767c0a4 (diff) |
Kconfig: Introduce CONFIG_SYS_HAS_SRAM
In order to be able to replace "#ifdef CONFIG_SYS_SRAM_BASE" sequences
with the IS_ENABLED() equivalent, introduce a new boolean Kconfig option
that signals whether the platform has SRAM support.
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Diffstat (limited to 'Kconfig')
-rw-r--r-- | Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -379,6 +379,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_HAS_SRAM + bool + default y if TARGET_PIC32MZDASK + default y if TARGET_DEVKIT8000 + default y if TARGET_TRICORDER + default n + help + Enable this to allow support for the on board SRAM. + SRAM base address is controlled by CONFIG_SYS_SRAM_BASE. + SRAM size is controlled by CONFIG_SYS_SRAM_SIZE. + endmenu # General setup menu "Boot images" |