diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-06-09 21:19:21 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-06-09 21:19:21 +0200 |
commit | 5d7022b0418b3aab977ac51dbfd179c296ae442e (patch) | |
tree | f8559105a82610e29be81467bc0a1cb48ae16023 /board/mcc200/mcc200.c | |
parent | e461a24113c66747510b07930a83b0d84171a559 (diff) | |
download | u-boot-imx-5d7022b0418b3aab977ac51dbfd179c296ae442e.zip u-boot-imx-5d7022b0418b3aab977ac51dbfd179c296ae442e.tar.gz u-boot-imx-5d7022b0418b3aab977ac51dbfd179c296ae442e.tar.bz2 |
Fix U-Boot enviroenment sector protection on MCC200 board
Diffstat (limited to 'board/mcc200/mcc200.c')
-rw-r--r-- | board/mcc200/mcc200.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/mcc200/mcc200.c b/board/mcc200/mcc200.c index 5fe239f..87427e4 100644 --- a/board/mcc200/mcc200.c +++ b/board/mcc200/mcc200.c @@ -242,7 +242,7 @@ int misc_init_r (void) /* Unprotect the upper bank of the Flash */ *(volatile int*)MPC5XXX_CS0_CFG |= (1 << 6); flash_protect (FLAG_PROTECT_CLEAR, - flash_info[0].start[0], + flash_info[0].start[0] + flash_info[0].size / 2, (flash_info[0].start[0] + flash_info[0].size) / 2 - 1, &flash_info[0]); *(volatile int*)MPC5XXX_CS0_CFG &= ~(1 << 6); |