summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-04-28 18:51:58 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-04-28 18:51:58 +0000
commit00b5917fe629b1a9d331566507be4a804378d952 (patch)
treeb9a8b605dfa45b0f1b2a5473209179762001d3cf /c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
parent2010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-00b5917fe629b1a9d331566507be4a804378d952.tar.bz2
2010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
* shared/bootloader/em86.c, shared/bootloader/mm.c, shared/console/polled_io.c, shared/irq/irq_init.c, shared/startup/bspstart.c: Remove warnings.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/startup/bspstart.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
index fd681e259c..aa4c8ff73c 100644
--- a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
@@ -17,8 +17,6 @@
* $Id$
*/
-#warning The interrupt disable mask is now stored in SPRG0, please verify that this is compatible to this BSP (see also bootcard.c).
-
#include <string.h>
#include <bsp.h>
@@ -127,8 +125,8 @@ unsigned int EUMBBAR;
* Processor Address Map B (CHRP).
*/
unsigned int get_eumbbar(void) {
- out_le32( (uint32_t*)0xfec00000, 0x80000078 );
- return in_le32( (uint32_t*)0xfee00000 );
+ out_le32( (volatile unsigned *)0xfec00000, 0x80000078 );
+ return in_le32( (volatile unsigned *)0xfee00000 );
}
#endif
@@ -309,7 +307,6 @@ void bsp_start( void )
#endif
/* See above */
-#warning The interrupt disable mask is now stored in SPRG0, please verify that this is compatible to this BSP (see also bootcard.c).
BSP_mem_size = residualCopy.TotalMemory;
BSP_bus_frequency = residualCopy.VitalProductData.ProcessorBusHz;