u-boot-brain/board/tqc
Wolfgang Grandegger 31ca9119c3 MPC85xx: TQM85xx: fix flash protection for boot loader
As the reset vector is located at 0xfffffffc, all flash sectors from the
beginning of the U-Boot binary to 0xffffffff must be protected. On the
TQM8548-AG having small sectors at the end of the flash it happened that
the last two sector were not protected and an "erase all" left an
un-bootable system behind:

Bank # 2: CFI conformant FLASH (32 x 16)  Size: 32 MB in 270 Sectors
  AMD Standard command set, Manufacturer ID: 0xEC, Device ID: 0x257E
  Erase timeout: 8192 ms, write timeout: 1 ms

  FFFA0000 E RO   FFFC0000   RO   FFFE0000   RO   FFFE4000   RO   FFFE8000   RO
  FFFEC000   RO   FFFF0000   RO   FFFF4000   RO   FFFF8000 E      FFFFC000

The same bug seems to be in drivers/mtd/cfi_flash.c:flash_init() and many
board BSPs as well.

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
2009-02-16 18:05:58 -06:00
..
tqm8xx Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
tqm85xx MPC85xx: TQM85xx: fix flash protection for boot loader 2009-02-16 18:05:58 -06:00
tqm834x pci: Rename PCI_REGION_MEMORY to PCI_REGION_SYS_MEMORY for clarity 2009-02-07 23:50:04 +01:00
tqm5200 Command usage cleanup 2009-01-28 08:49:52 +01:00
tqm8260 TQM8260: use CFI flash driver instead of custom driver. 2008-11-02 16:24:16 +01:00
tqm8272 Command usage cleanup 2009-01-28 08:49:52 +01:00