summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2007-08-16 22:52:39 -0500
committerWolfgang Denk <wd@denx.de>2007-08-18 21:39:46 +0200
commit79f240f7ecc0506b43ac50d1ea405ff6540d4d57 (patch)
tree6cb59212174311592f9a36af4fb11d43fb436d8e /cpu
parent815b5bd5b18569917c3e04b9757511e6ed23b9f6 (diff)
downloadu-boot-imx-79f240f7ecc0506b43ac50d1ea405ff6540d4d57.zip
u-boot-imx-79f240f7ecc0506b43ac50d1ea405ff6540d4d57.tar.gz
u-boot-imx-79f240f7ecc0506b43ac50d1ea405ff6540d4d57.tar.bz2
lib_ppc: make board_add_ram_info weak
platforms wishing to display RAM diagnostics in addition to size, can do so, on one line, in their own board_add_ram_info() implementation. this consequently eliminates CONFIG_ADD_RAM_INFO. Thanks to Stefan for the hint. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ppc4xx/44x_spd_ddr2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpu/ppc4xx/44x_spd_ddr2.c b/cpu/ppc4xx/44x_spd_ddr2.c
index 18b90ba..67ba5bd 100644
--- a/cpu/ppc4xx/44x_spd_ddr2.c
+++ b/cpu/ppc4xx/44x_spd_ddr2.c
@@ -621,7 +621,6 @@ static void get_spd_info(unsigned long *dimm_populated,
}
}
-#ifdef CONFIG_ADD_RAM_INFO
void board_add_ram_info(int use_default)
{
PPC440_SYS_INFO board_cfg;
@@ -642,7 +641,6 @@ void board_add_ram_info(int use_default)
val = (val & SDRAM_MMODE_DCL_MASK) >> 4;
printf(", CL%d)", val);
}
-#endif
/*------------------------------------------------------------------
* For the memory DIMMs installed, this routine verifies that they