diff options
author | Stefan Roese <sr@denx.de> | 2007-07-24 09:52:52 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-07-24 09:52:52 +0200 |
commit | 9f24a808f17fc0f37b7fb4805f734741335caecc (patch) | |
tree | 76c7953f30e319830f0dc3a4d248d05acade875a /board/lwmon5/lwmon5.c | |
parent | aedf5bde179ecfbd0a96130d18996a96518b785f (diff) | |
download | u-boot-9f24a808f17fc0f37b7fb4805f734741335caecc.zip u-boot-9f24a808f17fc0f37b7fb4805f734741335caecc.tar.gz u-boot-9f24a808f17fc0f37b7fb4805f734741335caecc.tar.bz2 |
ppc4xx: lwmon5: Support for 128 MByte NOR FLASH added
The used Intel NOR FLASH chips have internally two dies, and are now
treated as two seperate chips.
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/lwmon5/lwmon5.c')
-rw-r--r-- | board/lwmon5/lwmon5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/lwmon5/lwmon5.c b/board/lwmon5/lwmon5.c index 5c4cf9d..66cef2f 100644 --- a/board/lwmon5/lwmon5.c +++ b/board/lwmon5/lwmon5.c @@ -158,13 +158,13 @@ int misc_init_r(void) (void)flash_protect(FLAG_PROTECT_SET, -CFG_MONITOR_LEN, 0xffffffff, - &flash_info[0]); + &flash_info[1]); /* Env protection ON by default */ (void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR_REDUND, CFG_ENV_ADDR_REDUND + 2*CFG_ENV_SECT_SIZE - 1, - &flash_info[0]); + &flash_info[1]); /* * USB suff... |