diff options
author | Tom Rini | 2022-11-16 13:10:37 -0500 |
---|---|---|
committer | Tom Rini | 2022-12-05 16:06:07 -0500 |
commit | aa6e94deabb45154cea07ad44c4a5c047bca078b (patch) | |
tree | 1131ae8e3635f3d0c91f8df892ab05e4d9595785 /board/socrates | |
parent | aec118ebe63f7f0ab60916f9906fb3cb680abf7a (diff) |
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>
Diffstat (limited to 'board/socrates')
-rw-r--r-- | board/socrates/sdram.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/socrates/sdram.c b/board/socrates/sdram.c index 04527cf79ab..ad49999dc28 100644 --- a/board/socrates/sdram.c +++ b/board/socrates/sdram.c @@ -51,11 +51,11 @@ phys_size_t fixed_sdram(void) asm ("sync; isync; msync"); udelay(1000); - if (get_ram_size(0, CONFIG_SYS_SDRAM_SIZE<<20) == CONFIG_SYS_SDRAM_SIZE<<20) { + if (get_ram_size(0, CFG_SYS_SDRAM_SIZE<<20) == CFG_SYS_SDRAM_SIZE<<20) { /* * OK, size detected -> all done */ - return CONFIG_SYS_SDRAM_SIZE<<20; + return CFG_SYS_SDRAM_SIZE<<20; } return 0; /* nothing found ! */ |