projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ed47bb
)
[iDMR] Flash driver on initialisation write-protects some sectors,
author
Bartlomiej Sieka
<tur@semihalf.com>
Tue, 23 Jan 2007 13:21:14 +0000
(14:21 +0100)
committer
Bartlomiej Sieka
<tur@semihalf.com>
Tue, 23 Jan 2007 13:21:14 +0000
(14:21 +0100)
currently sectors 0-3. Sector 3 does not need to be protected, though
(U-boot occupies sectors 0-1 and the environment sector 2). This commit
fixes this, i.e., only sectors 0-2 are protected.
board/idmr/flash.c
patch
|
blob
|
history
diff --git
a/board/idmr/flash.c
b/board/idmr/flash.c
index ba9b009e1c0cfd42c617ff8b8c2faf07959d9a59..33512b8946df35dd9d110c732f26947a5cfb1285 100644
(file)
--- a/
board/idmr/flash.c
+++ b/
board/idmr/flash.c
@@
-97,7
+97,7
@@
unsigned long flash_init (void)
flash_protect (FLAG_PROTECT_SET,
CFG_FLASH_BASE,
- CFG_FLASH_BASE + 0x
30000
, &flash_info[0]);
+ CFG_FLASH_BASE + 0x
2ffff
, &flash_info[0]);
return size;
}