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:
@@ -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 ! */
|
||||
|
||||
Reference in New Issue
Block a user