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/include | |
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/include')
-rw-r--r-- | c/src/lib/libbsp/powerpc/gen5200/include/bsp.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h b/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h index 43b1d44766..4e3153f28e 100644 --- a/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h +++ b/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h @@ -149,8 +149,7 @@ extern "C" { #define CONFIG_MPC5xxx #include <u-boot.h> -extern bd_t *uboot_bdinfo_ptr; -extern bd_t uboot_bdinfo_copy; +extern bd_t bsp_uboot_board_info; #endif /* @@ -205,9 +204,9 @@ extern int rtems_mpc5200_fec_driver_attach_detach (struct rtems_bsdnet_ifconfig /* clock settings */ #if defined(HAS_UBOOT) -#define IPB_CLOCK (uboot_bdinfo_ptr->bi_ipbfreq) -#define XLB_CLOCK (uboot_bdinfo_ptr->bi_busfreq) -#define G2_CLOCK (uboot_bdinfo_ptr->bi_intfreq) +#define IPB_CLOCK (bsp_uboot_board_info.bi_ipbfreq) +#define XLB_CLOCK (bsp_uboot_board_info.bi_busfreq) +#define G2_CLOCK (bsp_uboot_board_info.bi_intfreq) #else #define IPB_CLOCK 33000000 /* 33 MHz */ #define XLB_CLOCK 66000000 /* 66 MHz */ @@ -215,7 +214,7 @@ extern int rtems_mpc5200_fec_driver_attach_detach (struct rtems_bsdnet_ifconfig #endif #if defined(HAS_UBOOT) -#define GEN5200_CONSOLE_BAUD (uboot_bdinfo_ptr->bi_baudrate) +#define GEN5200_CONSOLE_BAUD (bsp_uboot_board_info.bi_baudrate) #else #define GEN5200_CONSOLE_BAUD 9600 #endif |