diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-20 21:39:53 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-20 21:39:53 +0000 |
commit | f044f9c20ebf47b07d877ca8f7a11977e7f34dc9 (patch) | |
tree | ef02488299b57156b9beb03e81a2b306ad54d477 /c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c | |
parent | 2008-09-20 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-f044f9c20ebf47b07d877ca8f7a11977e7f34dc9.tar.bz2 |
2008-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, include/bsp.h, 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/gen83xx/startup/bspstart.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c b/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c index 46ef22ac75..ae4564c6cc 100644 --- a/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c @@ -34,10 +34,10 @@ * We want this in the data section, because the startup code clears the BSS * section after the initialization of the board info. */ -bd_t mpc83xx_uboot_board_info = { .bi_baudrate = 123 }; +bd_t bsp_uboot_board_info = { .bi_baudrate = 123 }; /* Size in words */ -const size_t mpc83xx_uboot_board_info_size = (sizeof( bd_t) + 3) / 4; +const size_t bsp_uboot_board_info_size = (sizeof( bd_t) + 3) / 4; #endif /* HAS_UBOOT */ @@ -122,8 +122,8 @@ void bsp_start( void) /* Initialize some device driver parameters */ #ifdef HAS_UBOOT - BSP_bus_frequency = mpc83xx_uboot_board_info.bi_busfreq; - bsp_clicks_per_usec = mpc83xx_uboot_board_info.bi_busfreq / 4000000; + BSP_bus_frequency = bsp_uboot_board_info.bi_busfreq; + bsp_clicks_per_usec = bsp_uboot_board_info.bi_busfreq / 4000000; #else /* HAS_UBOOT */ BSP_bus_frequency = BSP_CLKIN_FRQ * BSP_SYSPLL_MF / BSP_SYSPLL_CKID; bsp_clicks_per_usec = BSP_bus_frequency / 1000000; |