ColdFire: Update Freescale MCF52x2 platforms
[oweals/u-boot.git] / board / m5272c3 / m5272c3.c
index 0dfeaf24f5915594c79e16537296a84c10a34157..6dcda4f25413828999285e46cc57d1bbc75f3b44 100644 (file)
  */
 
 #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;