diff options
Diffstat (limited to 'lib_ppc')
-rw-r--r-- | lib_ppc/board.c | 8 | ||||
-rw-r--r-- | lib_ppc/cache.c | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c index 9aa67f93c0..7b95246e11 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -555,6 +555,9 @@ void board_init_f (ulong bootflag) bd->bi_sccfreq = gd->scc_clk; bd->bi_vco = gd->vco_out; #endif /* CONFIG_CPM2 */ +#if defined(CONFIG_MPC512X) + bd->bi_ipsfreq = gd->ips_clk; +#endif /* CONFIG_MPC512X */ #if defined(CONFIG_MPC5xxx) bd->bi_ipbfreq = gd->ipb_clk; bd->bi_pcifreq = gd->pci_clk; @@ -928,6 +931,11 @@ void board_init_r (gd_t *id, ulong dest_addr) /* Initialize the jump table for applications */ jumptable_init (); +#if defined(CONFIG_API) + /* Initialize API */ + api_init (); +#endif + /* Initialize the console (after the relocation and devices init) */ console_init_r (); diff --git a/lib_ppc/cache.c b/lib_ppc/cache.c index a81ab5e363..27e1a823c6 100644 --- a/lib_ppc/cache.c +++ b/lib_ppc/cache.c @@ -22,7 +22,7 @@ */ #include <common.h> - +#include <asm/cache.h> void flush_cache (ulong start_addr, ulong size) { |