summaryrefslogtreecommitdiffstats
path: root/board/sc3
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 /board/sc3
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 'board/sc3')
-rw-r--r--board/sc3/sc3.c2
-rw-r--r--board/sc3/sc3.h2
-rw-r--r--board/sc3/u-boot.lds8
3 files changed, 6 insertions, 6 deletions
diff --git a/board/sc3/sc3.c b/board/sc3/sc3.c
index 09407647ab..fbdc1d769c 100644
--- a/board/sc3/sc3.c
+++ b/board/sc3/sc3.c
@@ -446,7 +446,7 @@ static void printCSConfig(int reg,unsigned long ap,unsigned long cr)
printf(" at 0x%08lX", cr & 0xFFF00000U);
printf(" size: %u MB", banks[(cr & 0x000E0000) >> 17]);
printf(" rights: %s", bankaccess[(cr & 0x00018000) >> 15]);
- if (ap & 0x80000000) {
+ if (ap & 0x80000000) {
printf("\n -Burst device (%luns/%luns)",
(((ap & 0x7C000000) >> 26) + 1) * CYCLE,
(((ap & 0x03800000) >> 23) + 1) * CYCLE);
diff --git a/board/sc3/sc3.h b/board/sc3/sc3.h
index cf920f9f51..060aecedef 100644
--- a/board/sc3/sc3.h
+++ b/board/sc3/sc3.h
@@ -85,7 +85,7 @@ static unsigned long inline hcReadDWord (unsigned long base, unsigned int offset
/* control and status registers isp1161 */
#define HcRevision 0x00
-#define HcControl 0x01
+#define HcControl 0x01
#define HcCommandStatus 0x02
#define HcInterruptStatus 0x03
#define HcInterruptEnable 0x04
diff --git a/board/sc3/u-boot.lds b/board/sc3/u-boot.lds
index 24cf46c26e..27cc0b928c 100644
--- a/board/sc3/u-boot.lds
+++ b/board/sc3/u-boot.lds
@@ -38,11 +38,11 @@ SECTIONS
.dynsym : { *(.dynsym) }
.dynstr : { *(.dynstr) }
.rel.text : { *(.rel.text) }
- .rela.text : { *(.rela.text) }
+ .rela.text : { *(.rela.text) }
.rel.data : { *(.rel.data) }
- .rela.data : { *(.rela.data) }
- .rel.rodata : { *(.rel.rodata) }
- .rela.rodata : { *(.rela.rodata) }
+ .rela.data : { *(.rela.data) }
+ .rel.rodata : { *(.rel.rodata) }
+ .rela.rodata : { *(.rela.rodata) }
.rel.got : { *(.rel.got) }
.rela.got : { *(.rela.got) }
.rel.ctors : { *(.rel.ctors) }
OpenPOWER on IntegriCloud