powerpc/mpc8349: Use generic mpc85xx DDR driver
PATCH 1/1 powerpc/mpc8349: Use generic mpc85xx DDR driver
MPC8349 has been using mpc85xx DDR driver through a symbolic link to mpc85xx_ddr_gen2.c. After consolidating the drivers to a single set under driver/ddr/fsl/, the link is replaced by referring driver directly. We now can simply enable the macro and use the driver. Other mpc83xx SoCs still use their own driver.
---
This patch also fixes the issue addressed by this
http://patchwork.ozlabs.org/patch/296086/
arch/powerpc/cpu/mpc83xx/Makefile | 4 +--- include/configs/MPC8349EMDS.h | 1 + 2 files changed, 2 insertions(+), 3 deletions(-)
arch/powerpc/cpu/mpc83xx/Makefile +1 -3
@@ -38,9 +38,7 @@ obj-$(CONFIG_OF_LIBFDT) += fdt.o # Stub implementations of cache management functions for USB obj-y += cache.o -ifdef CONFIG_SYS_FSL_DDR2 -obj-$(CONFIG_MPC8349) += $(SRCTREE)/drivers/ddr/fsl/mpc85xx_ddr_gen2.o -else +ifndef CONFIG_SYS_FSL_DDRC_GEN2 obj-y += spd_sdram.o endif obj-$(CONFIG_SYS_FSL_DDR2) += law.o
include/configs/MPC8349EMDS.h +1 -0
@@ -67,6 +67,7 @@*/ #define CONFIG_SYS_FSL_DDR2 #ifdef CONFIG_SYS_FSL_DDR2 +#define CONFIG_SYS_FSL_DDRC_GEN2 #define CONFIG_SYS_SPD_BUS_NUM 0#define SPD_EEPROM_ADDRESS1 0x52#define SPD_EEPROM_ADDRESS2 0x51
Signature · 1 line
1.7.9.5
PATCH 1/1 powerpc/mpc8349: Use generic mpc85xx DDR driver
Hello York.
Quoted 10 lines · On Tue, 3 Dec 2013 13:16:59 -0800 York Sun <[email protected]> wrote:
MPC8349 has been using mpc85xx DDR driver through a symbolic link to
mpc85xx_ddr_gen2.c. After consolidating the drivers to a single set under driver/ddr/fsl/, the link is replaced by referring driver directly. We now can simply enable the macro and use the driver. Other mpc83xx SoCs still use their own driver.Signed-off-by York Sun <[email protected]>---
This patch also fixes the issue addressed by this
http://patchwork.ozlabs.org/patch/296086/
I'm happy with your patch. Thanks!
Please take it and discard my patch.
Best Regards
Masahiro Yamada
PATCH 1/1 powerpc/mpc8349: Use generic mpc85xx DDR driver
Quoted 18 lines · Masahiro Yamada
Hello York.
Quoted 10 lines · On Tue, 3 Dec 2013 13:16:59 -0800 York Sun <[email protected]> wrote:
MPC8349 has been using mpc85xx DDR driver through a symbolic link to
mpc85xx_ddr_gen2.c. After consolidating the drivers to a single set under driver/ddr/fsl/, the link is replaced by referring driver directly. We now can simply enable the macro and use the driver. Other mpc83xx SoCs still use their own driver.Signed-off-by York Sun <[email protected]>---
This patch also fixes the issue addressed by this
http://patchwork.ozlabs.org/patch/296086/
Quoted 5 lines
I'm happy with your patch. Thanks!
Please take it and discard my patch.
Thanks. Applied to u-boot-mpc85xx/master.
York