]> git.neil.brown.name Git - history.git/commit
MTD: NOR flash chip driver updates
authorDavid Woodhouse <dwmw2@shinybook.infradead.org>
Thu, 21 Oct 2004 01:13:45 +0000 (02:13 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 21 Oct 2004 01:13:45 +0000 (02:13 +0100)
commit637465e067650cadceadd427af6b869a9a8fce70
tree3f9b9483a83e193d7b8294fbaee88810f3353437
parent8ea999269b153e4c841b1ce9e3b524fb6103115a
MTD: NOR flash chip driver updates

Mostly from Eric Biederman for supporting BIOS flash.

    - Move support firmware hub style lock and unlock into fhw_lock.h (from cfi_cmdset_0002)
    - Move cfi_varsize_frob into cfi_util from cfi_cmdset_0001.c and cfi_cmdset_0002.c
    - reduce gen_probe probe failuers to a debug level message
    - Modify cfi_fixup to take a struct mtd_info instead of a struct map_info
      So that the fixup routines can modify the mtd functions.
    - Modify cfi_cmdset_0001() to allocate and initialize the mtd structure
      before calling cfi_fixup.
    - Modify cfi_cmdset_0002() to allocate and initialize the mtd structure
      before calling cfi_fixup.
    - Refactor the hard coded fixups in cfi_cmdset_0001 and cfi_cmdset_0002
      so the improved cfi_fixup infrastructure.
    - Rewrote amd76xrom and ichxrom.
      They now report their starting physical address in their name.
      They now both handle multiple bankwidth configurations
      They both can create multipe mtd devices.
      They both now assume the rom windows are properly opened by the BIOS
       or whatever runs previous to them.
      Their code is now synchromized so it is almost identical,
         and could be a starting point for a x86_rom_probe.

Signed-Off-By: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/chips/cfi_cmdset_0001.c
drivers/mtd/chips/cfi_cmdset_0002.c
drivers/mtd/chips/cfi_probe.c
drivers/mtd/chips/cfi_util.c
drivers/mtd/chips/fwh_lock.h [new file with mode: 0644]
drivers/mtd/chips/gen_probe.c
drivers/mtd/chips/jedec_probe.c
drivers/mtd/maps/amd76xrom.c
drivers/mtd/maps/ichxrom.c
include/linux/mtd/cfi.h