diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-08-27 18:10:01 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-08-27 18:10:01 +0200 |
commit | 16850919ff8666f20d047cb83b4ee77581336515 (patch) | |
tree | 7101d27231e24b9b1173fc76b1353beb0a5ffd50 /board/mcc200/mcc200.c | |
parent | 3b0ff842bf70baf1f370c8e76e8f33a0f9904c1b (diff) | |
download | u-boot-imx-16850919ff8666f20d047cb83b4ee77581336515.zip u-boot-imx-16850919ff8666f20d047cb83b4ee77581336515.tar.gz u-boot-imx-16850919ff8666f20d047cb83b4ee77581336515.tar.bz2 |
Code cleanup
Diffstat (limited to 'board/mcc200/mcc200.c')
-rw-r--r-- | board/mcc200/mcc200.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/mcc200/mcc200.c b/board/mcc200/mcc200.c index 9c57809..71a691b 100644 --- a/board/mcc200/mcc200.c +++ b/board/mcc200/mcc200.c @@ -265,8 +265,8 @@ int misc_init_r (void) *(volatile int*)MPC5XXX_CS0_CFG &= ~(1 << 6); printf ("Warning: Only 32 of 64 MB of Flash are accessible from U-Boot\n"); flash_info[0].size = 32 << 20; - for (snum = 0, flash_sup_end = gd->bd->bi_flashstart + (32<<20); - flash_info[0].start[snum] < flash_sup_end; + for (snum = 0, flash_sup_end = gd->bd->bi_flashstart + (32<<20); + flash_info[0].start[snum] < flash_sup_end; snum++); flash_info[0].sector_count = snum; } |