diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-03-12 02:55:22 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-03-12 02:55:22 +0100 |
commit | 8e7b703a62783f0e88d3a7e4b1dd1c033bc95ec8 (patch) | |
tree | 24c189eb88f7864177be3645e48b44e6e50d6304 /board/ezkit533 | |
parent | 1264b4050c6f635cc237b5821f924817457ce50c (diff) | |
download | u-boot-8e7b703a62783f0e88d3a7e4b1dd1c033bc95ec8.zip u-boot-8e7b703a62783f0e88d3a7e4b1dd1c033bc95ec8.tar.gz u-boot-8e7b703a62783f0e88d3a7e4b1dd1c033bc95ec8.tar.bz2 |
Coding Style cleanup
Diffstat (limited to 'board/ezkit533')
-rw-r--r-- | board/ezkit533/config.mk | 1 | ||||
-rw-r--r-- | board/ezkit533/flash.c | 14 | ||||
-rw-r--r-- | board/ezkit533/psd4256.h | 1 | ||||
-rw-r--r-- | board/ezkit533/u-boot.lds | 1 |
4 files changed, 7 insertions, 10 deletions
diff --git a/board/ezkit533/config.mk b/board/ezkit533/config.mk index e4c089d..36c9f99 100644 --- a/board/ezkit533/config.mk +++ b/board/ezkit533/config.mk @@ -23,4 +23,3 @@ TEXT_BASE = 0x01FC0000 PLATFORM_CPPFLAGS += -I$(TOPDIR) - diff --git a/board/ezkit533/flash.c b/board/ezkit533/flash.c index 0b59232..b0a0796 100644 --- a/board/ezkit533/flash.c +++ b/board/ezkit533/flash.c @@ -142,15 +142,15 @@ int flash_erase(flash_info_t * info, int s_first, int s_last) int prot,sect; prot = 0; - for (sect = s_first; sect <= s_last; ++sect) { - if (info->protect[sect]) - prot++; - } + for (sect = s_first; sect <= s_last; ++sect) { + if (info->protect[sect]) + prot++; + } if (prot) - printf ("- Warning: %d protected sectors will not be erased!\n", prot); - else - printf ("\n"); + printf ("- Warning: %d protected sectors will not be erased!\n", prot); + else + printf ("\n"); cnt = s_last - s_first + 1; diff --git a/board/ezkit533/psd4256.h b/board/ezkit533/psd4256.h index 9ae678b..01f6566 100644 --- a/board/ezkit533/psd4256.h +++ b/board/ezkit533/psd4256.h @@ -65,4 +65,3 @@ #define PSDA_LED6 0x04 /* LED 6, 1 = LED ON */ #define PSDA_LED5 0x02 /* LED 5, 1 = LED ON */ #define PSDA_LED4 0x01 /* LED 4, 1 = LED ON */ - diff --git a/board/ezkit533/u-boot.lds b/board/ezkit533/u-boot.lds index f58b489..10203ff 100644 --- a/board/ezkit533/u-boot.lds +++ b/board/ezkit533/u-boot.lds @@ -146,4 +146,3 @@ SECTIONS _end = . ; PROVIDE (end = .); } - |