diff options
Diffstat (limited to 'board/socrates')
-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. |