summaryrefslogtreecommitdiff
path: root/board/tqm85xx
diff options
context:
space:
mode:
authorWolfgang Denk <wd@nyx.(none)>2006-02-28 16:42:50 +0100
committerWolfgang Denk <wd@nyx.(none)>2006-02-28 16:42:50 +0100
commitf6c0068fc1181dc6b6081addd84ee1cfc0a4977b (patch)
tree8b0d7b23833d77b38d62ab60187e3b7b357ca4ec /board/tqm85xx
parent36d2c5387d22f0d1b14b799afca03c554adb216a (diff)
parent58ad4978330aefd6bdce72906f809bcfb6c94710 (diff)
Merge with Stefan Roese's branch with CFI driver fixes
Diffstat (limited to 'board/tqm85xx')
-rw-r--r--board/tqm85xx/tqm85xx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/tqm85xx/tqm85xx.c b/board/tqm85xx/tqm85xx.c
index 13ea6f48dd..b36beadea7 100644
--- a/board/tqm85xx/tqm85xx.c
+++ b/board/tqm85xx/tqm85xx.c
@@ -40,7 +40,6 @@ extern flash_info_t flash_info[]; /* FLASH chips info */
void local_bus_init (void);
long int fixed_sdram (void);
-ulong flash_get_size (ulong base, int banknum);
#ifdef CONFIG_CPM2
/*
@@ -296,7 +295,7 @@ int misc_init_r (void)
/* Monitor protection ON by default */
flash_protect (FLAG_PROTECT_SET,
- CFG_MONITOR_BASE, 0xffffffff,
+ CFG_MONITOR_BASE, CFG_MONITOR_BASE + monitor_flash_len - 1,
&flash_info[CFG_MAX_FLASH_BANKS - 1]);
/* Environment protection ON by default */