summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorDave Liu <daveliu@freescale.com>2009-05-15 10:27:44 +0800
committerWolfgang Denk <wd@denx.de>2009-06-09 22:58:32 +0200
commit16e7559c08b6f29db4596d795b92914c01e6a1b3 (patch)
tree40bb7ea9c787dd0311cfc0583b7c742e48cb332a /board
parent90d13b8ac3d515349626d7c8a3dc34ef38c43fa6 (diff)
downloadblackbird-obmc-uboot-16e7559c08b6f29db4596d795b92914c01e6a1b3.tar.gz
blackbird-obmc-uboot-16e7559c08b6f29db4596d795b92914c01e6a1b3.zip
85xx: Fix the wrong BCSR address of 8569MDS
The BCSR17[7] = 1 will unlock the write protect of FLASH. The WP# pin only controls the write protect of top/bottom sector, That is why we can save env, but we can't write the first sector before the patch. Signed-off-by: Dave Liu <daveliu@freescale.com>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/mpc8569mds/bcsr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mpc8569mds/bcsr.c b/board/freescale/mpc8569mds/bcsr.c
index 5adffc23e3..f462597260 100644
--- a/board/freescale/mpc8569mds/bcsr.c
+++ b/board/freescale/mpc8569mds/bcsr.c
@@ -27,7 +27,7 @@
void enable_8569mds_flash_write()
{
- setbits_8((u8 *)(CONFIG_SYS_BCSR_BASE + 11), BCSR17_FLASH_nWP);
+ setbits_8((u8 *)(CONFIG_SYS_BCSR_BASE + 17), BCSR17_FLASH_nWP);
}
void disable_8569mds_flash_write()
OpenPOWER on IntegriCloud