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/exmeritus/hww1u1a/hww1u1a.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/exmeritus/hww1u1a/hww1u1a.c')
-rw-r--r-- | board/exmeritus/hww1u1a/hww1u1a.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/board/exmeritus/hww1u1a/hww1u1a.c b/board/exmeritus/hww1u1a/hww1u1a.c index 7c11e38..97b84b3 100644 --- a/board/exmeritus/hww1u1a/hww1u1a.c +++ b/board/exmeritus/hww1u1a/hww1u1a.c @@ -13,7 +13,7 @@ #include <asm/cache.h> #include <asm/immap_85xx.h> #include <asm/fsl_pci.h> -#include <asm/fsl_ddr_sdram.h> +#include <fsl_ddr_sdram.h> #include <asm/io.h> #include <miiphy.h> #include <libfdt.h> @@ -37,6 +37,7 @@ int checkboard(void) unsigned int gpio_low = 0; unsigned int gpio_in = 0; unsigned int i; + struct ccsr_ddr __iomem *ddr; puts("Board: HWW-1U-1A "); @@ -89,7 +90,7 @@ int checkboard(void) * and delay a while before we continue. */ if (mpc85xx_gpio_get(GPIO_RESETS)) { - ccsr_ddr_t *ddr = (ccsr_ddr_t *)CONFIG_SYS_MPC8xxx_DDR_ADDR; + ddr = (struct ccsr_ddr __iomem *)CONFIG_SYS_FSL_DDR_ADDR; puts("Debugger detected... extra device reset enabled!\n"); |