summaryrefslogtreecommitdiff
path: root/board/cobra5272/cobra5272.c
diff options
context:
space:
mode:
authorTsiChungLiew <Tsi-Chung.Liew@freescale.com>2007-08-15 19:41:06 -0500
committerJohn Rigby <jrigby@freescale.com>2007-08-16 17:43:20 -0600
commit6706424d0bb851fb52af00cd1c3301e91ee7f2b0 (patch)
tree1cbf55c44f8bd36eeb2e56d12a80c1ee056e0441 /board/cobra5272/cobra5272.c
parent56115665b4a64c10c01440c57749b265e0908fa4 (diff)
ColdFire: cobra5272 platform for MCF52x2 update
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'board/cobra5272/cobra5272.c')
-rw-r--r--board/cobra5272/cobra5272.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/board/cobra5272/cobra5272.c b/board/cobra5272/cobra5272.c
index 26adb4abb1..86c7ee1eec 100644
--- a/board/cobra5272/cobra5272.c
+++ b/board/cobra5272/cobra5272.c
@@ -22,8 +22,7 @@
*/
#include <common.h>
-#include <asm/m5272.h>
-#include <asm/immap_5272.h>
+#include <asm/immap.h>
int checkboard (void)
@@ -35,7 +34,7 @@ int checkboard (void)
long int initdram (int board_type)
{
- volatile sdramctrl_t *sdp = (sdramctrl_t *) (CFG_MBAR + MCFSIM_SDCR);
+ volatile sdramctrl_t *sdp = (sdramctrl_t *) (MMAP_SDRAM);
sdp->sdram_sdtr = 0xf539;
sdp->sdram_sdcr = 0x4211;