]> git.sur5r.net Git - u-boot/commit
8xxx: Change all 8*xx_DDR addresses to 8xxx
authorAndy Fleming <afleming@freescale.com>
Wed, 24 Oct 2012 00:03:46 +0000 (19:03 -0500)
committerAndy Fleming <afleming@freescale.com>
Tue, 27 Nov 2012 23:45:17 +0000 (17:45 -0600)
commite76cd5d4cf311da7d40adc5d6e9b425509cf0205
tree36c37082482ef310e6419ce57b1b352edccdb29d
parent66dc452bfe13b0e276adddf3997b9c5abc00115d
8xxx: Change all 8*xx_DDR addresses to 8xxx

There were a number of shared files that were using
CONFIG_SYS_MPC85xx_DDR_ADDR, or CONFIG_SYS_MPC86xx_DDR_ADDR, and
several variants (DDR2, DDR3). A recent patchset added
85xx-specific ones to code which was used by 86xx systems.
After reviewing places where these constants were used, and
noting that the type definitions of the pointers assigned to
point to those addresses were the same, the cleanest approach
to fixing this problem was to unify the namespace for the
85xx, 83xx, and 86xx DDR address definitions.

This patch does:

s/CONFIG_SYS_MPC8.xx_DDR/CONFIG_SYS_MPC8xxx_DDR/g

All 85xx, 86xx, and 83xx have been built with this change.

Signed-off-by: Andy Fleming <afleming@freescale.com>
Tested-by: Andy Fleming <afleming@freescale.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
21 files changed:
arch/powerpc/cpu/mpc85xx/cpu.c
arch/powerpc/cpu/mpc85xx/ddr-gen1.c
arch/powerpc/cpu/mpc85xx/ddr-gen2.c
arch/powerpc/cpu/mpc85xx/ddr-gen3.c
arch/powerpc/cpu/mpc86xx/ddr-8641.c
arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c
arch/powerpc/cpu/mpc8xxx/ddr/util.c
arch/powerpc/include/asm/immap_83xx.h
arch/powerpc/include/asm/immap_85xx.h
arch/powerpc/include/asm/immap_86xx.h
board/exmeritus/hww1u1a/hww1u1a.c
board/freescale/mpc8540ads/mpc8540ads.c
board/freescale/mpc8560ads/mpc8560ads.c
board/freescale/mpc8569mds/mpc8569mds.c
board/freescale/p1023rds/p1023rds.c
board/freescale/p1_p2_rdb_pc/spl_minimal.c
board/freescale/p2020ds/p2020ds.c
board/sbc8548/ddr.c
board/socrates/sdram.c
nand_spl/board/freescale/p1010rdb/nand_boot.c
nand_spl/board/freescale/p1023rds/nand_boot.c