mirror of
https://xff.cz/git/u-boot/
synced 2026-01-07 07:39:17 +01: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:
@@ -107,7 +107,7 @@ int dram_init(void)
|
||||
{
|
||||
u32 max_size = imx_ddr_size();
|
||||
|
||||
gd->ram_size = get_ram_size_stride_test((u32 *) CONFIG_SYS_SDRAM_BASE,
|
||||
gd->ram_size = get_ram_size_stride_test((u32 *) CFG_SYS_SDRAM_BASE,
|
||||
(u32)max_size);
|
||||
|
||||
return 0;
|
||||
@@ -288,7 +288,7 @@ int board_init(void)
|
||||
int ret = 0;
|
||||
|
||||
/* address of boot parameters */
|
||||
gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
|
||||
gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100;
|
||||
|
||||
#ifdef CONFIG_VIDEO_IPUV3
|
||||
ret = setup_display();
|
||||
|
||||
Reference in New Issue
Block a user