summaryrefslogtreecommitdiff
path: root/board/freescale/m54451evb/m54451evb.c
diff options
context:
space:
mode:
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>2008-08-19 00:26:25 +0600
committerJohn Rigby <jrigby@freescale.com>2008-08-28 09:16:54 -0600
commitf78ced3028d4130b24a318943a70cf5584ab16f4 (patch)
tree90d6650c2e4921f767ea648dec2c7abc8d247f53 /board/freescale/m54451evb/m54451evb.c
parent454e725b3a9537b7f273bbd0cbca180f23a7a6e8 (diff)
downloadu-boot-imx-f78ced3028d4130b24a318943a70cf5584ab16f4.zip
u-boot-imx-f78ced3028d4130b24a318943a70cf5584ab16f4.tar.gz
u-boot-imx-f78ced3028d4130b24a318943a70cf5584ab16f4.tar.bz2
ColdFire: Multiple fixes for MCF5445x platforms
Add FEC pin set and mii reset in __mii_init(). Change legacy flash vendor from 2 to AMD LEGACY (0xFFF0), change cfi_offset to 0, and change CFG_FLASH_CFI to CONFIG_FLASH_CFI_LEGACY. Correct M54451EVB and M54455EVB env settings in configuration file. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'board/freescale/m54451evb/m54451evb.c')
-rw-r--r--board/freescale/m54451evb/m54451evb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/m54451evb/m54451evb.c b/board/freescale/m54451evb/m54451evb.c
index 5b33a83..768f40b 100644
--- a/board/freescale/m54451evb/m54451evb.c
+++ b/board/freescale/m54451evb/m54451evb.c
@@ -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);