From 5bb226e821ea3c10c52d768ffab7952204b0f816 Mon Sep 17 00:00:00 2001 From: wdenk Date: Mon, 17 Nov 2003 21:14:37 +0000 Subject: * Use "-fPIC" instead of "-mrelocatable" to prevent problems with recent tools * Add checksum verification to 'imls' command * Add bd_info fields needed for 4xx Linux I2C driver * Patch by Martin Krause, 4 Nov. 2003: Fix error in cmd_vfd.c (TRAB board: "vfd /1" shows now only one Bitmap) * Print used network interface when CONFIG_NET_MULTI is set --- lib_ppc/board.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib_ppc') diff --git a/lib_ppc/board.c b/lib_ppc/board.c index 35a8276f1f..ea8adb91e0 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -501,6 +501,14 @@ void board_init_f (ulong bootflag) bd->bi_plb_busfreq = gd->bus_clk; #if defined(CONFIG_405GP) || defined(CONFIG_405EP) bd->bi_pci_busfreq = get_PCI_freq (); + +#ifdef CFG_OPB_FREQ + bd->bi_opbfreq = CFG_OPB_FREQ; +#else + bd->bi_opbfreq = 50000000; +#endif + bd->bi_iic_fast[0] = 0; + bd->bi_iic_fast[1] = 0; #endif #endif -- cgit v1.2.1