mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 12:13:00 -04:00
[iDMR] Flash driver on initialisation write-protects some sectors,
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.
This commit is contained in:
parent
0ed47bb119
commit
f7db33101f
@ -97,7 +97,7 @@ unsigned long flash_init (void)
|
|||||||
|
|
||||||
flash_protect (FLAG_PROTECT_SET,
|
flash_protect (FLAG_PROTECT_SET,
|
||||||
CFG_FLASH_BASE,
|
CFG_FLASH_BASE,
|
||||||
CFG_FLASH_BASE + 0x30000, &flash_info[0]);
|
CFG_FLASH_BASE + 0x2ffff, &flash_info[0]);
|
||||||
|
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user