]> www.infradead.org Git - users/rw/ppcboot.git/commitdiff
Round two of changes necessary to get the CPCI config to work with
authorhydra <hydra>
Sun, 22 Oct 2000 01:51:11 +0000 (01:51 +0000)
committerhydra <hydra>
Sun, 22 Oct 2000 01:51:11 +0000 (01:51 +0000)
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.

common/board.c

index 2c84bcd210f90b250db28afcf0ffcd148a2742bb..d9225d013e24edeb48b062a67abc7196177f3806 100644 (file)
@@ -33,6 +33,7 @@
 #ifdef CONFIG_VIDEO
 #include <video.h>
 #endif
+#include <version.h>
 
 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