projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of /home/wd/git/u-boot/lwmon5
[oweals/u-boot.git]
/
board
/
westel
/
amx860
/
flash.c
diff --git
a/board/westel/amx860/flash.c
b/board/westel/amx860/flash.c
index 28238c1ca00a78262fdf184cfe6f342e079cfb96..12a1335b757ad1b052a76c3dd3e271e965124e37 100644
(file)
--- a/
board/westel/amx860/flash.c
+++ b/
board/westel/amx860/flash.c
@@
-130,7
+130,7
@@
unsigned long flash_init (void)
/* monitor protection ON by default */
flash_protect(FLAG_PROTECT_SET,
CFG_MONITOR_BASE,
/* monitor protection ON by default */
flash_protect(FLAG_PROTECT_SET,
CFG_MONITOR_BASE,
- CFG_MONITOR_BASE+
CFG_MONITOR_LEN
-1,
+ CFG_MONITOR_BASE+
monitor_flash_len
-1,
&flash_info[0]);
#endif
&flash_info[0]);
#endif
@@
-162,7
+162,7
@@
unsigned long flash_init (void)
/* monitor protection ON by default */
flash_protect(FLAG_PROTECT_SET,
CFG_MONITOR_BASE,
/* monitor protection ON by default */
flash_protect(FLAG_PROTECT_SET,
CFG_MONITOR_BASE,
- CFG_MONITOR_BASE+
CFG_MONITOR_LEN
-1,
+ CFG_MONITOR_BASE+
monitor_flash_len
-1,
&flash_info[1]);
# endif
&flash_info[1]);
# endif