summaryrefslogtreecommitdiff
path: root/drivers/ddr
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2019-01-21 09:18:16 +0100
committerMario Six <mario.six@gdsys.cc>2019-05-21 07:52:33 +0200
commit133ec602846d28a7915a7b3149d05d1c8a270873 (patch)
tree507157ce06ed8113cb03196d664e5d28eecac486 /drivers/ddr
parent8a81bfd271f9122933c865c790780024f5e2d576 (diff)
downloadu-boot-133ec602846d28a7915a7b3149d05d1c8a270873.tar.gz
u-boot-133ec602846d28a7915a7b3149d05d1c8a270873.tar.bz2
u-boot-133ec602846d28a7915a7b3149d05d1c8a270873.zip
mpc83xx: Get rid of CONFIG_SYS_DDR_SDRAM_BASE
CONFIG_SYS_DDR_SDRAM_BASE is set to the same value as CONFIG_SYS_SDRAM_BASE on all existing boards. Just use CONFIG_SYS_SDRAM_BASE instead. Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'drivers/ddr')
-rw-r--r--drivers/ddr/fsl/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ddr/fsl/main.c b/drivers/ddr/fsl/main.c
index 6d018fde2b..e1f69a1d25 100644
--- a/drivers/ddr/fsl/main.c
+++ b/drivers/ddr/fsl/main.c
@@ -23,8 +23,12 @@
* 0x80_8000_0000 ~ 0xff_ffff_ffff
*/
#ifndef CONFIG_SYS_FSL_DDR_SDRAM_BASE_PHY
+#ifdef CONFIG_MPC83xx
+#define CONFIG_SYS_FSL_DDR_SDRAM_BASE_PHY CONFIG_SYS_SDRAM_BASE
+#else
#define CONFIG_SYS_FSL_DDR_SDRAM_BASE_PHY CONFIG_SYS_DDR_SDRAM_BASE
#endif
+#endif
#ifdef CONFIG_PPC
#include <asm/fsl_law.h>