diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/board_f.c | 8 | ||||
-rw-r--r-- | common/board_r.c | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/common/board_f.c b/common/board_f.c index 09bd208034e..1989c8193d2 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -648,6 +648,14 @@ static int setup_board_part2(void) bd->bi_ipbfreq = gd->arch.ipb_clk; bd->bi_pcifreq = gd->pci_clk; #endif /* CONFIG_MPC5xxx */ +#if defined(CONFIG_M68K) && defined(CONFIG_PCI) + bd->bi_pcifreq = gd->pci_clk; +#endif +#if defined(CONFIG_EXTRA_CLOCK) + bd->bi_inpfreq = gd->arch.inp_clk; /* input Freq in Hz */ + bd->bi_vcofreq = gd->arch.vco_clk; /* vco Freq in Hz */ + bd->bi_flbfreq = gd->arch.flb_clk; /* flexbus Freq in Hz */ +#endif return 0; } diff --git a/common/board_r.c b/common/board_r.c index 826b94e9800..38be09b8c11 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -759,7 +759,7 @@ init_fnc_t init_sequence_r[] = { initr_flash, #endif INIT_FUNC_WATCHDOG_RESET -#if defined(CONFIG_PPC) +#if defined(CONFIG_PPC) || defined(CONFIG_M68K) /* initialize higher level parts of CPU like time base and timers */ cpu_init_r, #endif |