cfi-mtd: Add cfi-mtd driver.
authorPiotr Ziecik <kosmo@semihalf.com>
Mon, 17 Nov 2008 14:57:58 +0000 (15:57 +0100)
committerStefan Roese <sr@denx.de>
Mon, 24 Nov 2008 10:05:25 +0000 (11:05 +0100)
commit91809ed51d8327a8dbbf29aa98a091154c282171
treee57f9ab8c520575ffabf40626bb7249c0e4c4708
parent6ea808efdf9aa5d9067fbfac32acde8539129ed2
cfi-mtd: Add cfi-mtd driver.

Add cfi-mtd driver, which exports CFI flash to MTD layer.
This allows CFI flash devices to be used from MTD layer.

Building of the new driver is controlled by CONFIG_FLASH_CFI_MTD
option. Initialization is done by calling cfi_mtd_init() from
flash_init().

Signed-off-by: Piotr Ziecik <kosmo@semihalf.com>
Signed-off-by: Stefan Roese <sr@denx.de>
README
drivers/mtd/Makefile
drivers/mtd/cfi_flash.c
drivers/mtd/cfi_mtd.c [new file with mode: 0644]
include/flash.h