mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
Kconfig: Convert CONFIG_SYS_SRAM_SIZE to Kconfig
This converts ad-hoc CONFIG_SYS_SRAM_SIZE to Kconfig. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
This commit is contained in:
parent
dd084b0a37
commit
9f63f02755
5 changed files with 7 additions and 5 deletions
7
Kconfig
7
Kconfig
|
@ -395,6 +395,13 @@ config SYS_SRAM_BASE
|
||||||
default 0x80000000 if TARGET_PIC32MZDASK
|
default 0x80000000 if TARGET_PIC32MZDASK
|
||||||
default 0x0
|
default 0x0
|
||||||
|
|
||||||
|
config SYS_SRAM_SIZE
|
||||||
|
hex
|
||||||
|
default 0x00080000 if TARGET_PIC32MZDASK
|
||||||
|
default 0x10000 if TARGET_DEVKIT8000
|
||||||
|
default 0x10000 if TARGET_TRICORDER
|
||||||
|
default 0x0
|
||||||
|
|
||||||
endmenu # General setup
|
endmenu # General setup
|
||||||
|
|
||||||
menu "Boot images"
|
menu "Boot images"
|
||||||
|
|
|
@ -139,7 +139,6 @@
|
||||||
|
|
||||||
/* SRAM config */
|
/* SRAM config */
|
||||||
#define CONFIG_SYS_SRAM_START 0x40200000
|
#define CONFIG_SYS_SRAM_START 0x40200000
|
||||||
#define CONFIG_SYS_SRAM_SIZE 0x10000
|
|
||||||
|
|
||||||
/* Defines for SPL */
|
/* Defines for SPL */
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,6 @@
|
||||||
/*----------------------------------------------------------------------
|
/*----------------------------------------------------------------------
|
||||||
* Memory Layout
|
* Memory Layout
|
||||||
*/
|
*/
|
||||||
#define CONFIG_SYS_SRAM_SIZE 0x00080000 /* 512K */
|
|
||||||
|
|
||||||
/* Initial RAM for temporary stack, global data */
|
/* Initial RAM for temporary stack, global data */
|
||||||
#define CONFIG_SYS_INIT_RAM_SIZE 0x10000
|
#define CONFIG_SYS_INIT_RAM_SIZE 0x10000
|
||||||
#define CONFIG_SYS_INIT_RAM_ADDR \
|
#define CONFIG_SYS_INIT_RAM_ADDR \
|
||||||
|
|
|
@ -199,7 +199,6 @@
|
||||||
|
|
||||||
/* SRAM config */
|
/* SRAM config */
|
||||||
#define CONFIG_SYS_SRAM_START 0x40200000
|
#define CONFIG_SYS_SRAM_START 0x40200000
|
||||||
#define CONFIG_SYS_SRAM_SIZE 0x10000
|
|
||||||
|
|
||||||
/* Defines for SPL */
|
/* Defines for SPL */
|
||||||
|
|
||||||
|
|
|
@ -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_SIZE
|
|
||||||
CONFIG_SYS_SRAM_START
|
CONFIG_SYS_SRAM_START
|
||||||
CONFIG_SYS_SRIO
|
CONFIG_SYS_SRIO
|
||||||
CONFIG_SYS_SRIO1_MEM_BASE
|
CONFIG_SYS_SRIO1_MEM_BASE
|
||||||
|
|
Loading…
Reference in a new issue