MTD/CFI: Add support for 16bit legacy AMD flash
authorTor Krill <tor@excito.com>
Fri, 28 Mar 2008 10:29:10 +0000 (11:29 +0100)
committerStefan Roese <sr@denx.de>
Fri, 28 Mar 2008 10:44:23 +0000 (11:44 +0100)
commit90447ecbbac8572457b6d8903073ac3f120995ba
treed2810fc72c7f1af271d89685a5d6205094beea28
parent74d1e66d22dac91388bc538b2fe19f735edc5b82
MTD/CFI: Add support for 16bit legacy AMD flash

Add entry for 512Kx16 AMD flash to jedec_table.
Read out 16bit device id if chipwidth is 16bit.
Fixed coding style after Stefans feedback

Signed-off-by: Tor Krill <tor@excito.com>
drivers/mtd/cfi_flash.c
drivers/mtd/jedec_flash.c