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:
@@ -239,7 +239,7 @@ int clock_pll(int fsys, int flags)
|
||||
* software workaround for SDRAM opeartion after exiting LIMP
|
||||
* mode errata
|
||||
*/
|
||||
out_be32(sdram_workaround, CONFIG_SYS_SDRAM_BASE);
|
||||
out_be32(sdram_workaround, CFG_SYS_SDRAM_BASE);
|
||||
#endif
|
||||
|
||||
/* wait for DQS logic to relock */
|
||||
|
||||
@@ -338,9 +338,9 @@
|
||||
|
||||
#ifdef CONFIG_PCI
|
||||
#define CFG_SYS_PCI_BAR0 (0x40000000)
|
||||
#define CFG_SYS_PCI_BAR1 (CONFIG_SYS_SDRAM_BASE)
|
||||
#define CFG_SYS_PCI_BAR1 (CFG_SYS_SDRAM_BASE)
|
||||
#define CFG_SYS_PCI_TBATR0 (CONFIG_SYS_MBAR)
|
||||
#define CFG_SYS_PCI_TBATR1 (CONFIG_SYS_SDRAM_BASE)
|
||||
#define CFG_SYS_PCI_TBATR1 (CFG_SYS_SDRAM_BASE)
|
||||
#endif
|
||||
#endif /* CONFIG_M547x */
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ static void trap_init(ulong value) {
|
||||
|
||||
int arch_initr_trap(void)
|
||||
{
|
||||
trap_init(CONFIG_SYS_SDRAM_BASE);
|
||||
trap_init(CFG_SYS_SDRAM_BASE);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user