summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mbx8xx
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-11-30 03:49:08 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-11-30 03:49:08 +0000
commit3495c57d11b6e39e2c8f8c9deb53a0b7b3a7b596 (patch)
tree50a66b31574167e158722ffb56e25c2ea9deb011 /c/src/lib/libbsp/powerpc/mbx8xx
parentWhitespace removal. (diff)
downloadrtems-3495c57d11b6e39e2c8f8c9deb53a0b7b3a7b596.tar.bz2
Whitespace removal.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mbx8xx')
-rw-r--r--c/src/lib/libbsp/powerpc/mbx8xx/console/console.c2
-rw-r--r--c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c8
-rw-r--r--c/src/lib/libbsp/powerpc/mbx8xx/startup/start.S16
3 files changed, 13 insertions, 13 deletions
diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c b/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c
index 6081349ed0..09b1d3943b 100644
--- a/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c
+++ b/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c
@@ -538,7 +538,7 @@ serial_init(void)
bd_t *bd;
#if NVRAM_CONFIGURE == 1
- if ( ((nvram->console_mode & 0x06) != 0x04 ) ||
+ if ( ((nvram->console_mode & 0x06) != 0x04 ) ||
((nvram->console_mode & 0x30) != 0x20 )) {
/*
* FIXME: refine this condition...
diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c b/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c
index 0e440984b6..1ac160302d 100644
--- a/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c
+++ b/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c
@@ -218,8 +218,8 @@ int C_dispatch_irq_handler (BSP_Exception_frame *frame, unsigned int excNum)
ppc_cached_irq_mask |= (1 << (31 - BSP_CPM_INTERRUPT));
((volatile immap_t *)IMAP_ADDR)->im_siu_conf.sc_simask = ppc_cached_irq_mask;
}
- /*
- * make sure, that the masking operations in
+ /*
+ * make sure, that the masking operations in
* ICTL and MSR are executed in order
*/
asm volatile("sync":::"memory");
@@ -232,8 +232,8 @@ int C_dispatch_irq_handler (BSP_Exception_frame *frame, unsigned int excNum)
_CPU_MSR_SET(msr);
- /*
- * make sure, that the masking operations in
+ /*
+ * make sure, that the masking operations in
* ICTL and MSR are executed in order
*/
asm volatile("sync":::"memory");
diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/startup/start.S b/c/src/lib/libbsp/powerpc/mbx8xx/startup/start.S
index 5c99168819..03185d04f1 100644
--- a/c/src/lib/libbsp/powerpc/mbx8xx/startup/start.S
+++ b/c/src/lib/libbsp/powerpc/mbx8xx/startup/start.S
@@ -51,7 +51,7 @@
#warning The call is "void boot_card(const char* cmdline);"
#warning You need to pass a NULL.
#warning Please check and remove these warnings.
-
+
#include <rtems/asm.h>
/*
@@ -246,16 +246,16 @@ spin:
/*
* test function: blink orange led once
*/
-#define LEDBLINK_DELAY (5*1000*1000)
+#define LEDBLINK_DELAY (5*1000*1000)
#define LEDPORT 0xFA100001
#define LEDMASK 0xf0
#define LEDON 0x00
#define LEDOFF 0x08
-
+
PUBLIC_VAR(ledblink)
SYM(ledblink):
lis r3,LEDBLINK_DELAY>>16
-ledblink1:
+ledblink1:
subi r3,r3,1
cmpi 0,1,r3,0
bne ledblink1
@@ -267,9 +267,9 @@ ledblink1:
andi. r0,r0,LEDMASK
ori r0,r0,LEDOFF
stb r0,LEDPORT@l(r3)
-
+
lis r3,LEDBLINK_DELAY>>16
-ledblink2:
+ledblink2:
subi r3,r3,1
cmpi 0,1,r3,0
bne ledblink2
@@ -281,8 +281,8 @@ ledblink2:
andi. r0,r0,LEDMASK
ori r0,r0,LEDON
stb r0,LEDPORT@l(r3)
-
- blr
+
+ blr
/*
* #define LOADED_BY_EPPCBUG
*/