projects
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Implement new mechanism to export U-Boot's functions to standalone
[kernel/u-boot.git]
/
board
/
mpl
/
common
/
flash.c
diff --git
a/board/mpl/common/flash.c
b/board/mpl/common/flash.c
index
28f6f0a
..
4bdb8bd
100644
(file)
--- a/
board/mpl/common/flash.c
+++ b/
board/mpl/common/flash.c
@@
-105,6
+105,8
@@
unsigned long flash_init (void)
CFG_MONITOR_BASE+monitor_flash_len-1,
&flash_info[0]);
#endif
+ /* protect reset vector */
+ flash_info[0].protect[flash_info[0].sector_count-1] = 1;
size_b1 = 0 ;
flash_info[0].size = size_b0;
#if 0