mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +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:
@@ -115,7 +115,7 @@ enum env_location env_get_location(enum env_operation op, int prio)
|
||||
|
||||
int dram_init(void)
|
||||
{
|
||||
gd->ram_size = CONFIG_SYS_SDRAM_SIZE;
|
||||
gd->ram_size = CFG_SYS_SDRAM_SIZE;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -173,7 +173,7 @@ int board_late_init(void)
|
||||
int init_addr_map(void)
|
||||
{
|
||||
if (IS_ENABLED(CONFIG_ADDR_MAP))
|
||||
addrmap_set_entry(0, 0, CONFIG_SYS_SDRAM_SIZE, 0);
|
||||
addrmap_set_entry(0, 0, CFG_SYS_SDRAM_SIZE, 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user