diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2007-08-16 22:52:48 -0500 |
---|---|---|
committer | Kim Phillips <kim.phillips@freescale.com> | 2007-08-16 23:12:24 -0500 |
commit | bbea46f76f767b919070b4829bf34c86bd223248 (patch) | |
tree | 1c4eec552cd1ede648ef3c8e4a6d6c70f431e536 /board/tqm834x | |
parent | 14778585d1389d86d5846efec29e5fce892680ce (diff) | |
download | u-boot-imx-bbea46f76f767b919070b4829bf34c86bd223248.zip u-boot-imx-bbea46f76f767b919070b4829bf34c86bd223248.tar.gz u-boot-imx-bbea46f76f767b919070b4829bf34c86bd223248.tar.bz2 |
mpc83xx: implement board_add_ram_info
add board_add_ram_info, to make memory diagnostic output more
consistent. u-boot banner output now looks like:
DRAM: 256 MB (DDR1, 64-bit, ECC on)
and for boards with SDRAM on the local bus, a line such as this is
added:
SDRAM: 64 MB (local bus)
also replaced some magic numbers with their equivalent define names.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'board/tqm834x')
-rw-r--r-- | board/tqm834x/tqm834x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/tqm834x/tqm834x.c b/board/tqm834x/tqm834x.c index 9c35e22..7d0b055 100644 --- a/board/tqm834x/tqm834x.c +++ b/board/tqm834x/tqm834x.c @@ -114,7 +114,7 @@ long int initdram (int board_type) /* enable DDR controller */ im->ddr.sdram_cfg = (SDRAM_CFG_MEM_EN | SDRAM_CFG_SREN | - SDRAM_CFG_SDRAM_TYPE_DDR); + SDRAM_CFG_SDRAM_TYPE_DDR1); SYNC; /* size detection */ @@ -388,7 +388,7 @@ static void set_ddr_config(void) { /* don't enable DDR controller yet */ im->ddr.sdram_cfg = SDRAM_CFG_SREN | - SDRAM_CFG_SDRAM_TYPE_DDR; + SDRAM_CFG_SDRAM_TYPE_DDR1; SYNC; /* Set SDRAM mode */ |