From: hydra Date: Sun, 22 Oct 2000 01:51:11 +0000 (+0000) Subject: Round two of changes necessary to get the CPCI config to work with X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=d4e520c3bbf3c35a42f5ba6db993aa08d39a1f1a;p=users%2Frw%2Fppcboot.git Round two of changes necessary to get the CPCI config to work with the extended bd_t. Damn.. When will I *ever* learn to compile before committing? I've been doing for far too long to forget that. --- diff --git a/common/board.c b/common/board.c index 2c84bcd..d9225d0 100644 --- a/common/board.c +++ b/common/board.c @@ -33,6 +33,7 @@ #ifdef CONFIG_VIDEO #include #endif +#include static char *failed = "*** failed ***\n"; @@ -207,7 +208,7 @@ board_init_f (ulong bootflag) bd->bi_busfreq = get_bus_freq(clock_mhz); /* Bus Freq, in MHz */ bd->bi_baudrate = baudrate; /* Console Baudrate */ #ifdef EXTBDINFO - bd->bi_procfreq = cpu_speed * 1000000; /* Processor Speed, In Hz */ + bd->bi_procfreq = bd->bi_intfreq * 1000000; /* Processor Speed, In Hz */ bd->bi_plb_busfreq = bd->bi_busfreq; bd->bi_pci_busfreq = bd->bi_busfreq; #endif