diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-20 21:39:02 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-20 21:39:02 +0000 |
commit | 144ad337741f463b0283875109c1ca7c1628a0f1 (patch) | |
tree | 8984b98327af817c41ffc467521f9c699b466bdb /c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c | |
parent | 2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-144ad337741f463b0283875109c1ca7c1628a0f1.tar.bz2 |
2008-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, include/bsp.h, network_5200/network.c, start/start.S,
startup/bspstart.c, startup/cpuinit.c: Use top level shared
bsp_get_work_area() implementation. Augment it to know about U-Boot.
* startup/bspgetworkarea.c: Removed.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c b/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c index f9c09824d1..d81133229d 100644 --- a/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c @@ -107,8 +107,10 @@ #include <bsp/irq.h> #if defined(HAS_UBOOT) -bd_t *uboot_bdinfo_ptr = (bd_t *)1; /* will be overwritten from startup code */ -bd_t uboot_bdinfo_copy; /* will be overwritten with copy of bdinfo */ +/* will be overwritten from startup code */ +bd_t *bsp_uboot_board_info_ptr = (bd_t *)1; +/* will be overwritten with copy of board information */ +bd_t bsp_uboot_board_info; #endif /* @@ -142,14 +144,13 @@ void bsp_start(void) myCpuRevision = get_ppc_cpu_revision(); #if defined(HAS_UBOOT) - uboot_bdinfo_copy = *uboot_bdinfo_ptr; - uboot_bdinfo_ptr = &uboot_bdinfo_copy; + bsp_uboot_board_info = *bsp_uboot_board_info_ptr; #endif #if defined(HAS_UBOOT) && defined(SHOW_MORE_INIT_SETTINGS) { void dumpUBootBDInfo( bd_t * ); - dumpUBootBDInfo( uboot_bdinfo_ptr ); + dumpUBootBDInfo( bsp_uboot_board_info_ptr ); } #endif |