From 53677ef18e25c97ac613349087c5cb33ae5a2741 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Tue, 20 May 2008 16:00:29 +0200 Subject: 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 --- board/sc3/sc3.c | 2 +- board/sc3/sc3.h | 2 +- board/sc3/u-boot.lds | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'board/sc3') diff --git a/board/sc3/sc3.c b/board/sc3/sc3.c index 0940764..fbdc1d7 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 cf920f9..060aece 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 24cf46c..27cc0b9 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) } -- cgit v1.1