summaryrefslogtreecommitdiff
path: root/post
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2013-10-04 17:43:24 +0200
committerTom Rini <trini@ti.com>2013-10-14 16:06:54 -0400
commit93e1459641e758d2b096d3f1b39414a39bb314f8 (patch)
tree3780156a164d3924a2412354872203e4b46f8592 /post
parent3765b3e7bd0f8e46914d417f29cbcb0c72b1acf7 (diff)
downloadu-boot-93e1459641e758d2b096d3f1b39414a39bb314f8.tar.gz
Coding Style cleanup: replace leading SPACEs by TABs
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Drop changes for PEP 4 following python tools] Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'post')
-rw-r--r--post/lib_powerpc/andi.c2
-rw-r--r--post/lib_powerpc/cpu_asm.h32
-rw-r--r--post/lib_powerpc/rlwimi.c6
-rw-r--r--post/lib_powerpc/rlwinm.c6
-rw-r--r--post/lib_powerpc/rlwnm.c6
-rw-r--r--post/lib_powerpc/srawi.c6
-rw-r--r--post/lib_powerpc/three.c6
-rw-r--r--post/lib_powerpc/threei.c2
-rw-r--r--post/lib_powerpc/threex.c6
-rw-r--r--post/lib_powerpc/twox.c6
10 files changed, 39 insertions, 39 deletions
diff --git a/post/lib_powerpc/andi.c b/post/lib_powerpc/andi.c
index 878b2ca7ab..8a4b89b983 100644
--- a/post/lib_powerpc/andi.c
+++ b/post/lib_powerpc/andi.c
@@ -89,7 +89,7 @@ int cpu_post_test_andi (void)
if (ret != 0)
{
- post_log ("Error at andi test %d !\n", i);
+ post_log ("Error at andi test %d !\n", i);
}
}
}
diff --git a/post/lib_powerpc/cpu_asm.h b/post/lib_powerpc/cpu_asm.h
index 66adad8f79..b5c588919e 100644
--- a/post/lib_powerpc/cpu_asm.h
+++ b/post/lib_powerpc/cpu_asm.h
@@ -112,64 +112,64 @@
#define ASM_0(opcode) (opcode)
#define ASM_1(opcode, rd) ((opcode) + \
- ((rd) << 21))
+ ((rd) << 21))
#define ASM_1C(opcode, cr) ((opcode) + \
- ((cr) << 23))
+ ((cr) << 23))
#define ASM_11(opcode, rd, rs) ((opcode) + \
- ((rd) << 21) + \
+ ((rd) << 21) + \
((rs) << 16))
#define ASM_11C(opcode, cd, cs) ((opcode) + \
- ((cd) << 23) + \
+ ((cd) << 23) + \
((cs) << 18))
#define ASM_11X(opcode, rd, rs) ((opcode) + \
- ((rs) << 21) + \
+ ((rs) << 21) + \
((rd) << 16))
#define ASM_11I(opcode, rd, rs, simm) ((opcode) + \
- ((rd) << 21) + \
+ ((rd) << 21) + \
((rs) << 16) + \
((simm) & 0xffff))
#define ASM_11IF(opcode, rd, rs, simm) ((opcode) + \
- ((rd) << 21) + \
+ ((rd) << 21) + \
((rs) << 16) + \
((simm) << 11))
#define ASM_11S(opcode, rd, rs, sh) ((opcode) + \
- ((rs) << 21) + \
+ ((rs) << 21) + \
((rd) << 16) + \
((sh) << 11))
#define ASM_11IX(opcode, rd, rs, imm) ((opcode) + \
- ((rs) << 21) + \
+ ((rs) << 21) + \
((rd) << 16) + \
((imm) & 0xffff))
#define ASM_12(opcode, rd, rs1, rs2) ((opcode) + \
- ((rd) << 21) + \
+ ((rd) << 21) + \
((rs1) << 16) + \
((rs2) << 11))
#define ASM_12F(opcode, fd, fs1, fs2) ((opcode) + \
- ((fd) << 21) + \
+ ((fd) << 21) + \
((fs1) << 16) + \
((fs2) << 11))
#define ASM_12X(opcode, rd, rs1, rs2) ((opcode) + \
- ((rs1) << 21) + \
+ ((rs1) << 21) + \
((rd) << 16) + \
((rs2) << 11))
#define ASM_2C(opcode, cr, rs1, rs2) ((opcode) + \
- ((cr) << 23) + \
+ ((cr) << 23) + \
((rs1) << 16) + \
((rs2) << 11))
#define ASM_1IC(opcode, cr, rs, imm) ((opcode) + \
- ((cr) << 23) + \
+ ((cr) << 23) + \
((rs) << 16) + \
((imm) & 0xffff))
#define ASM_122(opcode, rd, rs1, rs2, imm1, imm2) \
((opcode) + \
- ((rs1) << 21) + \
+ ((rs1) << 21) + \
((rd) << 16) + \
((rs2) << 11) + \
((imm1) << 6) + \
((imm2) << 1))
#define ASM_113(opcode, rd, rs, imm1, imm2, imm3) \
((opcode) + \
- ((rs) << 21) + \
+ ((rs) << 21) + \
((rd) << 16) + \
((imm1) << 11) + \
((imm2) << 6) + \
diff --git a/post/lib_powerpc/rlwimi.c b/post/lib_powerpc/rlwimi.c
index eccf71daa3..6bd53d06cb 100644
--- a/post/lib_powerpc/rlwimi.c
+++ b/post/lib_powerpc/rlwimi.c
@@ -114,7 +114,7 @@ int cpu_post_test_rlwimi (void)
if (ret != 0)
{
- post_log ("Error at rlwimi test %d !\n", i);
+ post_log ("Error at rlwimi test %d !\n", i);
}
}
@@ -127,8 +127,8 @@ int cpu_post_test_rlwimi (void)
if (ret != 0)
{
- post_log ("Error at rlwimi test %d !\n", i);
- }
+ post_log ("Error at rlwimi test %d !\n", i);
+ }
}
}
}
diff --git a/post/lib_powerpc/rlwinm.c b/post/lib_powerpc/rlwinm.c
index 5eaf30b8e7..35a1a40fc9 100644
--- a/post/lib_powerpc/rlwinm.c
+++ b/post/lib_powerpc/rlwinm.c
@@ -107,7 +107,7 @@ int cpu_post_test_rlwinm (void)
if (ret != 0)
{
- post_log ("Error at rlwinm test %d !\n", i);
+ post_log ("Error at rlwinm test %d !\n", i);
}
}
@@ -120,8 +120,8 @@ int cpu_post_test_rlwinm (void)
if (ret != 0)
{
- post_log ("Error at rlwinm test %d !\n", i);
- }
+ post_log ("Error at rlwinm test %d !\n", i);
+ }
}
}
}
diff --git a/post/lib_powerpc/rlwnm.c b/post/lib_powerpc/rlwnm.c
index 83ee70b52d..6e828939e0 100644
--- a/post/lib_powerpc/rlwnm.c
+++ b/post/lib_powerpc/rlwnm.c
@@ -117,7 +117,7 @@ int cpu_post_test_rlwnm (void)
if (ret != 0)
{
- post_log ("Error at rlwnm test %d !\n", i);
+ post_log ("Error at rlwnm test %d !\n", i);
}
}
@@ -130,8 +130,8 @@ int cpu_post_test_rlwnm (void)
if (ret != 0)
{
- post_log ("Error at rlwnm test %d !\n", i);
- }
+ post_log ("Error at rlwnm test %d !\n", i);
+ }
}
}
}
diff --git a/post/lib_powerpc/srawi.c b/post/lib_powerpc/srawi.c
index b2760140b5..3723e339b9 100644
--- a/post/lib_powerpc/srawi.c
+++ b/post/lib_powerpc/srawi.c
@@ -108,7 +108,7 @@ int cpu_post_test_srawi (void)
if (ret != 0)
{
- post_log ("Error at srawi test %d !\n", i);
+ post_log ("Error at srawi test %d !\n", i);
}
}
@@ -121,8 +121,8 @@ int cpu_post_test_srawi (void)
if (ret != 0)
{
- post_log ("Error at srawi test %d !\n", i);
- }
+ post_log ("Error at srawi test %d !\n", i);
+ }
}
}
}
diff --git a/post/lib_powerpc/three.c b/post/lib_powerpc/three.c
index f7317dded0..c3e7f681ab 100644
--- a/post/lib_powerpc/three.c
+++ b/post/lib_powerpc/three.c
@@ -211,7 +211,7 @@ int cpu_post_test_three (void)
if (ret != 0)
{
- post_log ("Error at three test %d !\n", i);
+ post_log ("Error at three test %d !\n", i);
}
}
@@ -224,8 +224,8 @@ int cpu_post_test_three (void)
if (ret != 0)
{
- post_log ("Error at three test %d !\n", i);
- }
+ post_log ("Error at three test %d !\n", i);
+ }
}
}
}
diff --git a/post/lib_powerpc/threei.c b/post/lib_powerpc/threei.c
index f6d9052532..1d40e1af33 100644
--- a/post/lib_powerpc/threei.c
+++ b/post/lib_powerpc/threei.c
@@ -103,7 +103,7 @@ int cpu_post_test_threei (void)
if (ret != 0)
{
- post_log ("Error at threei test %d !\n", i);
+ post_log ("Error at threei test %d !\n", i);
}
}
}
diff --git a/post/lib_powerpc/threex.c b/post/lib_powerpc/threex.c
index 906fefd0d3..ce1edf89db 100644
--- a/post/lib_powerpc/threex.c
+++ b/post/lib_powerpc/threex.c
@@ -181,7 +181,7 @@ int cpu_post_test_threex (void)
if (ret != 0)
{
- post_log ("Error at threex test %d !\n", i);
+ post_log ("Error at threex test %d !\n", i);
}
}
@@ -194,8 +194,8 @@ int cpu_post_test_threex (void)
if (ret != 0)
{
- post_log ("Error at threex test %d !\n", i);
- }
+ post_log ("Error at threex test %d !\n", i);
+ }
}
}
}
diff --git a/post/lib_powerpc/twox.c b/post/lib_powerpc/twox.c
index 3a9b13684f..9549dbb750 100644
--- a/post/lib_powerpc/twox.c
+++ b/post/lib_powerpc/twox.c
@@ -128,7 +128,7 @@ int cpu_post_test_twox (void)
if (ret != 0)
{
- post_log ("Error at twox test %d !\n", i);
+ post_log ("Error at twox test %d !\n", i);
}
}
@@ -141,8 +141,8 @@ int cpu_post_test_twox (void)
if (ret != 0)
{
- post_log ("Error at twox test %d !\n", i);
- }
+ post_log ("Error at twox test %d !\n", i);
+ }
}
}
}