From 500856eb1707ed17d9204baa61dd59948d3b2899 Mon Sep 17 00:00:00 2001 From: Rafal Jaworowski Date: Wed, 9 Jan 2008 19:39:36 +0100 Subject: API for external applications. This is an API for external (standalone) applications running on top of U-Boot, and is meant to be more extensible and robust than the existing jumptable mechanism. It is similar to UNIX syscall approach. See api/README for more details. Included is the demo application using this new framework (api_examples). Please note this is still an experimental feature, and is turned off by default. Signed-off-by: Rafal Jaworowski --- lib_ppc/board.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib_ppc/board.c') diff --git a/lib_ppc/board.c b/lib_ppc/board.c index 9aa67f9..0719745 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -928,6 +928,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 (); -- cgit v1.1 From 281ff9a45cf9eb17b8a9afc436cb783cf1f62363 Mon Sep 17 00:00:00 2001 From: Grzegorz Bernacki Date: Tue, 8 Jan 2008 17:16:15 +0100 Subject: ads5121: Added support for FDT. Signed-off-by: Grzegorz Bernacki --- lib_ppc/board.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib_ppc/board.c') diff --git a/lib_ppc/board.c b/lib_ppc/board.c index 0719745..6350918 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->ipb_clk; +#endif /* CONFIG_MPC512X */ #if defined(CONFIG_MPC5xxx) bd->bi_ipbfreq = gd->ipb_clk; bd->bi_pcifreq = gd->pci_clk; -- cgit v1.1 From 5d49e0e152a8b81cc0602271e8fd259371f559b7 Mon Sep 17 00:00:00 2001 From: Grzegorz Bernacki Date: Fri, 11 Jan 2008 12:03:43 +0100 Subject: MPC512X: Cleanup bus clock names. Signed-off-by: Grzegorz Bernacki --- lib_ppc/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib_ppc/board.c') diff --git a/lib_ppc/board.c b/lib_ppc/board.c index 6350918..7b95246 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -556,7 +556,7 @@ void board_init_f (ulong bootflag) bd->bi_vco = gd->vco_out; #endif /* CONFIG_CPM2 */ #if defined(CONFIG_MPC512X) - bd->bi_ipsfreq = gd->ipb_clk; + bd->bi_ipsfreq = gd->ips_clk; #endif /* CONFIG_MPC512X */ #if defined(CONFIG_MPC5xxx) bd->bi_ipbfreq = gd->ipb_clk; -- cgit v1.1