summaryrefslogtreecommitdiff
path: root/board/svm_sc8xx/svm_sc8xx.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-06-27 21:31:46 +0000
committerwdenk <wdenk>2003-06-27 21:31:46 +0000
commit8bde7f776c77b343aca29b8c7b58464d915ac245 (patch)
tree20f1fd99975215e7c658454a15cdb4ed4694e2d4 /board/svm_sc8xx/svm_sc8xx.c
parent993cad9364c6b87ae429d1ed1130d8153f6f027e (diff)
downloadu-boot-imx-8bde7f776c77b343aca29b8c7b58464d915ac245.zip
u-boot-imx-8bde7f776c77b343aca29b8c7b58464d915ac245.tar.gz
u-boot-imx-8bde7f776c77b343aca29b8c7b58464d915ac245.tar.bz2
* Code cleanup:
- remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
Diffstat (limited to 'board/svm_sc8xx/svm_sc8xx.c')
-rw-r--r--board/svm_sc8xx/svm_sc8xx.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/board/svm_sc8xx/svm_sc8xx.c b/board/svm_sc8xx/svm_sc8xx.c
index db3162a..1311ea9 100644
--- a/board/svm_sc8xx/svm_sc8xx.c
+++ b/board/svm_sc8xx/svm_sc8xx.c
@@ -101,7 +101,7 @@ int checkboard (void)
/* ------------------------------------------------------------------------- */
long int initdram (int board_type)
-{
+{
volatile immap_t *immap = (immap_t *)CFG_IMMR;
volatile memctl8xx_t *memctl = &immap->im_memctl;
long int size_b0 = 0;
@@ -145,7 +145,7 @@ long int initdram (int board_type)
udelay(1);
memctl->memc_or1 = 0xfc000a00;
size_b0 = 0x04000000;
-#else
+#else
#error SDRAM size configuration missing.
#endif
memctl->memc_br1 = 0x00000081;
@@ -160,4 +160,3 @@ void doc_init (void)
doc_probe (CFG_DOC_BASE);
}
#endif
-