mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
Kconfig: Convert CONFIG_SYS_SRAM_BASE to Kconfig
This converts ad-hoc CONFIG_SYS_SRAM_BASE to Kconfig. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
This commit is contained in:
5
Kconfig
5
Kconfig
@@ -390,6 +390,11 @@ config SYS_HAS_SRAM
|
|||||||
SRAM base address is controlled by CONFIG_SYS_SRAM_BASE.
|
SRAM base address is controlled by CONFIG_SYS_SRAM_BASE.
|
||||||
SRAM size is controlled by CONFIG_SYS_SRAM_SIZE.
|
SRAM size is controlled by CONFIG_SYS_SRAM_SIZE.
|
||||||
|
|
||||||
|
config SYS_SRAM_BASE
|
||||||
|
hex
|
||||||
|
default 0x80000000 if TARGET_PIC32MZDASK
|
||||||
|
default 0x0
|
||||||
|
|
||||||
endmenu # General setup
|
endmenu # General setup
|
||||||
|
|
||||||
menu "Boot images"
|
menu "Boot images"
|
||||||
|
@@ -19,7 +19,6 @@
|
|||||||
/*----------------------------------------------------------------------
|
/*----------------------------------------------------------------------
|
||||||
* Memory Layout
|
* Memory Layout
|
||||||
*/
|
*/
|
||||||
#define CONFIG_SYS_SRAM_BASE 0x80000000
|
|
||||||
#define CONFIG_SYS_SRAM_SIZE 0x00080000 /* 512K */
|
#define CONFIG_SYS_SRAM_SIZE 0x00080000 /* 512K */
|
||||||
|
|
||||||
/* Initial RAM for temporary stack, global data */
|
/* Initial RAM for temporary stack, global data */
|
||||||
|
@@ -3715,7 +3715,6 @@ CONFIG_SYS_SPL_LEN
|
|||||||
CONFIG_SYS_SPL_MALLOC_SIZE
|
CONFIG_SYS_SPL_MALLOC_SIZE
|
||||||
CONFIG_SYS_SPL_MALLOC_START
|
CONFIG_SYS_SPL_MALLOC_START
|
||||||
CONFIG_SYS_SPR
|
CONFIG_SYS_SPR
|
||||||
CONFIG_SYS_SRAM_BASE
|
|
||||||
CONFIG_SYS_SRAM_SIZE
|
CONFIG_SYS_SRAM_SIZE
|
||||||
CONFIG_SYS_SRAM_START
|
CONFIG_SYS_SRAM_START
|
||||||
CONFIG_SYS_SRIO
|
CONFIG_SYS_SRIO
|
||||||
|
Reference in New Issue
Block a user