mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_*
The rest of the unmigrated CONFIG symbols in the CONFIG_SYS_SDRAM namespace do not easily transition to Kconfig. In many cases they likely should come from the device tree instead. Move these out of CONFIG namespace and in to CFG namespace. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -42,12 +42,12 @@
|
||||
*/
|
||||
|
||||
#if XCHAL_HAVE_PTP_MMU || CONFIG_BOARD_SDRAM_SIZE < 0x10000000
|
||||
#define CONFIG_SYS_SDRAM_SIZE CONFIG_BOARD_SDRAM_SIZE
|
||||
#define CFG_SYS_SDRAM_SIZE CONFIG_BOARD_SDRAM_SIZE
|
||||
#else
|
||||
#define CONFIG_SYS_SDRAM_SIZE 0x10000000
|
||||
#define CFG_SYS_SDRAM_SIZE 0x10000000
|
||||
#endif
|
||||
|
||||
#define CONFIG_SYS_SDRAM_BASE MEMADDR(0x00000000)
|
||||
#define CFG_SYS_SDRAM_BASE MEMADDR(0x00000000)
|
||||
|
||||
/* Lx60 can only map 128kb memory (instead of 256kb) when running under OCD */
|
||||
|
||||
@@ -70,12 +70,12 @@
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_MAX_MEM_MAPPED) && \
|
||||
CONFIG_MAX_MEM_MAPPED < CONFIG_SYS_SDRAM_SIZE
|
||||
CONFIG_MAX_MEM_MAPPED < CFG_SYS_SDRAM_SIZE
|
||||
#define XTENSA_SYS_TEXT_ADDR \
|
||||
(MEMADDR(CONFIG_MAX_MEM_MAPPED) - CONFIG_SYS_MONITOR_LEN)
|
||||
#else
|
||||
#define XTENSA_SYS_TEXT_ADDR \
|
||||
(MEMADDR(CONFIG_SYS_SDRAM_SIZE) - CONFIG_SYS_MONITOR_LEN)
|
||||
(MEMADDR(CFG_SYS_SDRAM_SIZE) - CONFIG_SYS_MONITOR_LEN)
|
||||
#endif
|
||||
|
||||
/*==============================*/
|
||||
|
||||
Reference in New Issue
Block a user