]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
mtd, cfi: read AMD 3-byte (expanded) device ids on 16bit devices
authorHeiko Schocher <hs@denx.de>
Mon, 11 Apr 2011 12:16:19 +0000 (14:16 +0200)
committerStefan Roese <sr@denx.de>
Thu, 21 Apr 2011 13:51:39 +0000 (15:51 +0200)
commit5b448adb4b2f3244419de6409949a730771f8b21
treea8d5ee5dc0c96a7dc58964086fbbee006e989422
parent6a011ce851a0ba23ad50f9bac06dc323a863d0c5
mtd, cfi: read AMD 3-byte (expanded) device ids on 16bit devices

tested on the a4m072 board with a S29GL512P flash.

flinfo without this patch
Bank # 1: CFI conformant flash (16 x 16)  Size: 32 MB in 256 Sectors
  AMD Standard command set, Manufacturer ID: 0x01, Device ID: 0x227E
  Erase timeout: 16384 ms, write timeout: 2 ms
  Buffer write timeout: 5 ms, buffer size: 32 bytes
[...]

flinfo with this patch
Bank # 1: CFI conformant flash (16 x 16)  Size: 32 MB in 256 Sectors
  AMD Standard command set, Manufacturer ID: 0x01, Device ID: 0x227E2301
  Erase timeout: 16384 ms, write timeout: 2 ms
  Buffer write timeout: 5 ms, buffer size: 32 bytes
[...]

Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c