]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/m54451evb/m54451evb.c
Update Freescale 85xx boards to sys_eeprom.c
[u-boot] / board / freescale / m54451evb / m54451evb.c
index 5b33a8358e9517967b33164c7179b341b43cdfd5..768f40bb0aa83efe9ba1637738c51a0a57cbe95d 100644 (file)
@@ -49,7 +49,7 @@ phys_size_t initdram(int board_type)
         * Serial Boot: The dram is already initialized in start.S
         * only require to return DRAM size
         */
-       dramsize = CFG_SDRAM_SIZE * 0x100000 >> 1;
+       dramsize = CFG_SDRAM_SIZE * 0x100000;
 #else
        volatile sdramc_t *sdram = (volatile sdramc_t *)(MMAP_SDRAM);
        volatile gpio_t *gpio = (volatile gpio_t *)(MMAP_GPIO);
@@ -67,7 +67,7 @@ phys_size_t initdram(int board_type)
        }
        i--;
 
-       gpio->mscr_sdram = 0x44;
+       gpio->mscr_sdram = CFG_SDRAM_DRV_STRENGTH;
 
        sdram->sdcs0 = (CFG_SDRAM_BASE | i);