diff options
author | York Sun <yorksun@freescale.com> | 2013-11-18 22:29:32 +0400 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2013-11-25 23:43:46 +0400 |
commit | 9a17eb5b7e7ba528c278a9677c38d7ae722d93ec (patch) | |
tree | 5df092304229af616adb25b47d31a01ca0cf7d90 /board/socrates/sdram.c | |
parent | 5614e71b4956c579cd4419b958b33fa6316eaa92 (diff) | |
download | u-boot-9a17eb5b7e7ba528c278a9677c38d7ae722d93ec.tar.xz |
Driver/DDR: combine ccsr_ddr for 83xx, 85xx and 86xx
Fix ccsr_ddr structure to avoid using typedef. Combine DDR2 and DDR3
structure for 83xx, 85xx and 86xx.
Signed-off-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/socrates/sdram.c')
-rw-r--r-- | board/socrates/sdram.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/socrates/sdram.c b/board/socrates/sdram.c index 356e8e82e7..aebd02f76c 100644 --- a/board/socrates/sdram.c +++ b/board/socrates/sdram.c @@ -24,7 +24,8 @@ */ phys_size_t fixed_sdram(void) { - volatile ccsr_ddr_t *ddr = (void *)(CONFIG_SYS_FSL_DDR_ADDR); + struct ccsr_ddr __iomem *ddr = + (struct ccsr_ddr __iomem *)(CONFIG_SYS_FSL_DDR_ADDR); /* * Disable memory controller. |