summaryrefslogtreecommitdiff
path: root/post/cpu
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-07-10 00:01:28 +0200
committerWolfgang Denk <wd@denx.de>2007-07-10 00:01:28 +0200
commit4ef218f6fdf8d747f4589da5252b004e7d2c2876 (patch)
tree300416f5afbdfae1d680578f9d8b5561e6dd9884 /post/cpu
parentbf6a9ca9b2aa219612c3678444b8123e28aa8940 (diff)
downloadu-boot-imx-4ef218f6fdf8d747f4589da5252b004e7d2c2876.zip
u-boot-imx-4ef218f6fdf8d747f4589da5252b004e7d2c2876.tar.gz
u-boot-imx-4ef218f6fdf8d747f4589da5252b004e7d2c2876.tar.bz2
Coding style cleanup; update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'post/cpu')
-rw-r--r--post/cpu/ppc4xx/cache_4xx.S2
-rw-r--r--post/cpu/ppc4xx/fpu.c2
-rw-r--r--post/cpu/ppc4xx/spr.c13
3 files changed, 8 insertions, 9 deletions
diff --git a/post/cpu/ppc4xx/cache_4xx.S b/post/cpu/ppc4xx/cache_4xx.S
index 785b8d6..dddd76b 100644
--- a/post/cpu/ppc4xx/cache_4xx.S
+++ b/post/cpu/ppc4xx/cache_4xx.S
@@ -438,7 +438,7 @@ cache_post_test6_reloc:
blr
/* Test instructions.
- */
+ */
cache_post_test_inst:
li r3, 0
li r3, -1
diff --git a/post/cpu/ppc4xx/fpu.c b/post/cpu/ppc4xx/fpu.c
index c2eb4a9..27e9ed0 100644
--- a/post/cpu/ppc4xx/fpu.c
+++ b/post/cpu/ppc4xx/fpu.c
@@ -37,7 +37,7 @@ int fpu_status(void)
{
if (mfspr(ccr0) & CCR0_DAPUIB)
return 0; /* Disabled */
- else
+ else
return 1; /* Enabled */
}
diff --git a/post/cpu/ppc4xx/spr.c b/post/cpu/ppc4xx/spr.c
index be5a701..3e74634 100644
--- a/post/cpu/ppc4xx/spr.c
+++ b/post/cpu/ppc4xx/spr.c
@@ -43,12 +43,11 @@
#include <asm/processor.h>
-static struct
-{
- int number;
- char * name;
- unsigned long mask;
- unsigned long value;
+static struct {
+ int number;
+ char * name;
+ unsigned long mask;
+ unsigned long value;
} spr_test_list [] = {
/* Standard Special-Purpose Registers */
@@ -65,7 +64,7 @@ static struct
{0x11f, "PVR", 0x00000000, 0x00000000},
/* Additional Special-Purpose Registers.
- * The values must match the initialization
+ * The values must match the initialization
* values from cpu/ppc4xx/start.S
*/
{0x30, "PID", 0x00000000, 0x00000000},