]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Fix printing & reading of 16-bit CFI device identifiers
authorPhilippe De Muyter <phdm@macqel.be>
Tue, 10 Aug 2010 14:54:52 +0000 (16:54 +0200)
committerStefan Roese <sr@denx.de>
Wed, 18 Aug 2010 07:09:00 +0000 (09:09 +0200)
commitd77c7ac47e4ea750cc13c2f0ecc037ab7afa7964
tree71aa440303d0c56e5cc7d0cc8fe57e242b579026
parent2e97394a6d07a36dfc139b7b98b12e452b5bd8dc
Fix printing & reading of 16-bit CFI device identifiers

Fix reading and printing of CFI flashes 16-bit devices identifiers

Nowadays CFI flashes have a 16-bit device identifier.  U-boot still
print them and read them as if they were only 8-bit wide.  Fix that.
Before:
  Intel Extended command set, Manufacturer ID: 0x89, Device ID: 0x1B
After:
  Intel Extended command set, Manufacturer ID: 0x89, Device ID: 0x881B

Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c