summaryrefslogtreecommitdiffstats
path: root/post/lib_ppc/threei.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-05-20 16:00:29 +0200
committerWolfgang Denk <wd@denx.de>2008-05-21 00:14:08 +0200
commit53677ef18e25c97ac613349087c5cb33ae5a2741 (patch)
treef947d34d6efaee2401ea0e4c6104ef2f6a0f7ad0 /post/lib_ppc/threei.c
parent727f63334676e760877d43bfb8f0e9331ac8b101 (diff)
downloadtalos-obmc-uboot-53677ef18e25c97ac613349087c5cb33ae5a2741.tar.gz
talos-obmc-uboot-53677ef18e25c97ac613349087c5cb33ae5a2741.zip
Big white-space cleanup.
This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'post/lib_ppc/threei.c')
-rw-r--r--post/lib_ppc/threei.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/post/lib_ppc/threei.c b/post/lib_ppc/threei.c
index bbb4f50b7a..89f8fc8466 100644
--- a/post/lib_ppc/threei.c
+++ b/post/lib_ppc/threei.c
@@ -51,25 +51,25 @@ static struct cpu_post_threei_s
} cpu_post_threei_table[] =
{
{
- OP_ORI,
+ OP_ORI,
0x80000000,
0xffff,
0x8000ffff
},
{
- OP_ORIS,
+ OP_ORIS,
0x00008000,
0xffff,
0xffff8000
},
{
- OP_XORI,
+ OP_XORI,
0x8000ffff,
0xffff,
0x80000000
},
{
- OP_XORIS,
+ OP_XORIS,
0x00008000,
0xffff,
0xffff8000
@@ -93,7 +93,7 @@ int cpu_post_test_threei (void)
unsigned int reg0 = (reg + 0) % 32;
unsigned int reg1 = (reg + 1) % 32;
unsigned int stk = reg < 16 ? 31 : 15;
- unsigned long code[] =
+ unsigned long code[] =
{
ASM_STW(stk, 1, -4),
ASM_ADDI(stk, 1, -16),
@@ -113,7 +113,7 @@ int cpu_post_test_threei (void)
ulong res;
ulong cr;
- cr = 0;
+ cr = 0;
cpu_post_exec_21 (code, & cr, & res, test->op1);
ret = res == test->res && cr == 0 ? 0 : -1;
@@ -126,7 +126,7 @@ int cpu_post_test_threei (void)
}
if (flag)
- enable_interrupts();
+ enable_interrupts();
return ret;
}
OpenPOWER on IntegriCloud