summaryrefslogtreecommitdiff
path: root/board/m5272c3/m5272c3.c
diff options
context:
space:
mode:
authorTsiChungLiew <Tsi-Chung.Liew@freescale.com>2007-08-15 20:32:06 -0500
committerJohn Rigby <jrigby@freescale.com>2007-08-16 17:43:20 -0600
commitf28e1bd9daa6de5eb33ae4822bda6b008ccb4e9e (patch)
tree1cddf80f261eb34e934d4a647264b7d0a27d2bbf /board/m5272c3/m5272c3.c
parent870470dbf6f4bb9864e0d97aeedbc17c167c6d1c (diff)
downloadu-boot-imx-f28e1bd9daa6de5eb33ae4822bda6b008ccb4e9e.zip
u-boot-imx-f28e1bd9daa6de5eb33ae4822bda6b008ccb4e9e.tar.gz
u-boot-imx-f28e1bd9daa6de5eb33ae4822bda6b008ccb4e9e.tar.bz2
ColdFire: Update Freescale MCF52x2 platforms
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'board/m5272c3/m5272c3.c')
-rw-r--r--board/m5272c3/m5272c3.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/board/m5272c3/m5272c3.c b/board/m5272c3/m5272c3.c
index 0dfeaf2..6dcda4f 100644
--- a/board/m5272c3/m5272c3.c
+++ b/board/m5272c3/m5272c3.c
@@ -22,18 +22,17 @@
*/
#include <common.h>
-#include <asm/m5272.h>
-#include <asm/immap_5272.h>
+#include <asm/immap.h>
int checkboard (void) {
puts ("Board: ");
- puts("MOTOROLA MCF5272C3 EVB\n");
+ puts ("Freescale MCF5272C3 EVB\n");
return 0;
};
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;