diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2007-08-16 22:52:39 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-08-18 21:39:46 +0200 |
commit | 79f240f7ecc0506b43ac50d1ea405ff6540d4d57 (patch) | |
tree | 6cb59212174311592f9a36af4fb11d43fb436d8e /board/netstal/hcu5/sdram.c | |
parent | 815b5bd5b18569917c3e04b9757511e6ed23b9f6 (diff) | |
download | u-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 'board/netstal/hcu5/sdram.c')
-rw-r--r-- | board/netstal/hcu5/sdram.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/board/netstal/hcu5/sdram.c b/board/netstal/hcu5/sdram.c index 4039195..c5be8b9 100644 --- a/board/netstal/hcu5/sdram.c +++ b/board/netstal/hcu5/sdram.c @@ -70,7 +70,6 @@ void dflush(void); void program_tlb(u32 phys_addr, u32 virt_addr, u32 size, u32 tlb_word2_i_value); -#ifdef CONFIG_ADD_RAM_INFO void board_add_ram_info(int use_default) { PPC440_SYS_INFO board_cfg; @@ -99,7 +98,6 @@ void board_add_ram_info(int use_default) val = DDR0_03_CASLAT_DECODE(val); printf(", CL%d)", val); } -#endif /*-------------------------------------------------------------------- * wait_for_dlllock. |