mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
Fix error in flash protection calculation on MCC200 board.
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
Changes since U-Boot 1.1.4:
|
Changes since U-Boot 1.1.4:
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
|
* Fix error in flash protection calculation on MCC200 board.
|
||||||
|
|
||||||
* Major PCMCIA Cleanup to make code better readable and maintainable.
|
* Major PCMCIA Cleanup to make code better readable and maintainable.
|
||||||
Notes:
|
Notes:
|
||||||
- Board-dependend code for RPXLITE and RPXCLASSIC-based boards
|
- Board-dependend code for RPXLITE and RPXCLASSIC-based boards
|
||||||
|
@@ -249,7 +249,7 @@ int misc_init_r (void)
|
|||||||
*(volatile int*)MPC5XXX_CS0_CFG |= (1 << 6);
|
*(volatile int*)MPC5XXX_CS0_CFG |= (1 << 6);
|
||||||
flash_protect (FLAG_PROTECT_CLEAR,
|
flash_protect (FLAG_PROTECT_CLEAR,
|
||||||
flash_info[0].start[0] + flash_info[0].size / 2,
|
flash_info[0].start[0] + flash_info[0].size / 2,
|
||||||
(flash_info[0].start[0] + flash_info[0].size) / 2 - 1,
|
(flash_info[0].start[0] - 1) + flash_info[0].size,
|
||||||
&flash_info[0]);
|
&flash_info[0]);
|
||||||
*(volatile int*)MPC5XXX_CS0_CFG &= ~(1 << 6);
|
*(volatile int*)MPC5XXX_CS0_CFG &= ~(1 << 6);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user