]> git.dujemihanovic.xyz Git - u-boot.git/commit
cfi_flash: Add cmdset-specific init functions
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 14 Dec 2007 14:36:17 +0000 (15:36 +0100)
committerStefan Roese <sr@denx.de>
Mon, 17 Dec 2007 14:48:31 +0000 (15:48 +0100)
commit0ddf06ddf6b4bd057ad4c5f0dffea7870ba06a2a
tree6a18b58691deee2a622bc905b31fe3264028c689
parente23741f4a6d8047520ef0d4971762749b3587d32
cfi_flash: Add cmdset-specific init functions

Move things like reading JEDEC IDs and fixing up geometry reversal
into separate functions. The geometry reversal fixup is now performed
by altering the qry structure directly, which makes the sector init
code slightly cleaner.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
drivers/mtd/cfi_flash.c