From 109c0e3ad32428dd65ed89f882faf59e30132494 Mon Sep 17 00:00:00 2001 From: wdenk Date: Tue, 23 Mar 2004 21:43:07 +0000 Subject: * Patch by Phillippe Robin, 16 Mar 2004: avoid dereferencing NULL pointer in lib_arm/armlinux.c * Patch by Stephen Williams, 15 Mar 2004: Fix CONFIG_SERIAL_SOFTWARE_FIFO documentation * Patch by Tolunay Orkun, 15 Mar 2004: Initialize bi_opbfreq to real OPB frequency via get_OPB_freq() * Patch by Travis Sawyer, 15 Mar 2004: Update CREDITS & MAINTAINERS files for PPC440GX & Ocotea port --- lib_ppc/board.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lib_ppc') diff --git a/lib_ppc/board.c b/lib_ppc/board.c index a85425c312..a3f7f173bf 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -507,12 +507,8 @@ 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 (); + bd->bi_opbfreq = get_OPB_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; #elif defined(CONFIG_XILINX_ML300) -- cgit v1.2.3