summaryrefslogtreecommitdiff
path: root/lib_ppc
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2005-11-30 13:06:40 +0100
committerStefan Roese <sr@denx.de>2005-11-30 13:06:40 +0100
commitd96f41e0165f1bdc16eacf79ba1654c8f45fa71a (patch)
treee8aaf6e9cfdcf8468f84703d2ae2647f6461efb2 /lib_ppc
parenta46726fdba86d02353529a98f26cd1384f991d40 (diff)
Add support for TQM8541/8555 boards, TQM85xx support reworked:
- Support for TQM8541/8555 boards added. - Complete rework of TQM8540/8560 support. - Common TQM85xx code now supports all current TQM85xx platforms (TQM8540/8541/8555/8560). - DDR SDRAM size detection added. - CAS latency default values can be overwritten by setting "serial#" to e.g. "ABC0001 casl=25" -> CAS latency 2.5 will be used. If problems are detected with this non default CAS latency, the defualt values will be used instead. - FLASH size detection added. - Moved FCC ethernet driver initialization behind TSEC driver init -> TSEC is first device. Patch by Stefan Roese, 30 Nov 2005
Diffstat (limited to 'lib_ppc')
-rw-r--r--lib_ppc/board.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index b8dd18ba927..f2a47460645 100644
--- a/lib_ppc/board.c
+++ b/lib_ppc/board.c
@@ -197,6 +197,10 @@ static int init_baudrate (void)
/***********************************************************************/
+#ifdef CONFIG_ADD_RAM_INFO
+void board_add_ram_info(int);
+#endif
+
static int init_func_ram (void)
{
#ifdef CONFIG_BOARD_TYPES
@@ -207,7 +211,11 @@ static int init_func_ram (void)
puts ("DRAM: ");
if ((gd->ram_size = initdram (board_type)) > 0) {
- print_size (gd->ram_size, "\n");
+ print_size (gd->ram_size, "");
+#ifdef CONFIG_ADD_RAM_INFO
+ board_add_ram_info(0);
+#endif
+ putc('\n');
return (0);
}
puts (failed);