diff options
author | Tom Rini <trini@ti.com> | 2013-12-02 08:38:28 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-12-02 08:38:28 -0500 |
commit | 77fdd6d1eb69c1194148a9f4b4428d903af3619f (patch) | |
tree | 1ab1b0a75a4b77cf5be89e457eea772d2b5e6b30 /board/sbc8548/ddr.c | |
parent | d19ad726bcd5d9106f7ba9c750462fcc369f1020 (diff) | |
parent | f7f155e1e180e2e7743a036016ed917bba581d98 (diff) | |
download | u-boot-imx-77fdd6d1eb69c1194148a9f4b4428d903af3619f.zip u-boot-imx-77fdd6d1eb69c1194148a9f4b4428d903af3619f.tar.gz u-boot-imx-77fdd6d1eb69c1194148a9f4b4428d903af3619f.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Diffstat (limited to 'board/sbc8548/ddr.c')
-rw-r--r-- | board/sbc8548/ddr.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/board/sbc8548/ddr.c b/board/sbc8548/ddr.c index 9508561..24cc776 100644 --- a/board/sbc8548/ddr.c +++ b/board/sbc8548/ddr.c @@ -9,8 +9,8 @@ #include <common.h> #include <i2c.h> -#include <asm/fsl_ddr_sdram.h> -#include <asm/fsl_ddr_dimm_params.h> +#include <fsl_ddr_sdram.h> +#include <fsl_ddr_dimm_params.h> void fsl_ddr_board_options(memctl_options_t *popts, dimm_params_t *pdimm, @@ -91,7 +91,8 @@ void get_spd(generic_spd_eeprom_t *spd, u8 i2c_address) */ phys_size_t fixed_sdram(void) { - volatile ccsr_ddr_t *ddr = (void *)(CONFIG_SYS_MPC8xxx_DDR_ADDR); + struct ccsr_ddr __iomem *ddr = + (struct ccsr_ddr __iomem *)(CONFIG_SYS_FSL_DDR_ADDR); out_be32(&ddr->cs0_bnds, 0x0000007f); out_be32(&ddr->cs1_bnds, 0x008000ff); |