diff options
author | Piotr Ziecik <kosmo@semihalf.com> | 2008-11-17 15:57:58 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-11-24 11:05:25 +0100 |
commit | 91809ed51d8327a8dbbf29aa98a091154c282171 (patch) | |
tree | e57f9ab8c520575ffabf40626bb7249c0e4c4708 /drivers/mtd/Makefile | |
parent | 6ea808efdf9aa5d9067fbfac32acde8539129ed2 (diff) | |
download | u-boot-imx-91809ed51d8327a8dbbf29aa98a091154c282171.zip u-boot-imx-91809ed51d8327a8dbbf29aa98a091154c282171.tar.gz u-boot-imx-91809ed51d8327a8dbbf29aa98a091154c282171.tar.bz2 |
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>
Diffstat (limited to 'drivers/mtd/Makefile')
-rw-r--r-- | drivers/mtd/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile index 6538f7a..47687d0 100644 --- a/drivers/mtd/Makefile +++ b/drivers/mtd/Makefile @@ -27,6 +27,7 @@ LIB := $(obj)libmtd.a COBJS-$(CONFIG_HAS_DATAFLASH) += at45.o COBJS-$(CONFIG_FLASH_CFI_DRIVER) += cfi_flash.o +COBJS-$(CONFIG_FLASH_CFI_MTD) += cfi_mtd.o COBJS-$(CONFIG_HAS_DATAFLASH) += dataflash.o COBJS-$(CONFIG_FLASH_CFI_LEGACY) += jedec_flash.o COBJS-$(CONFIG_MW_EEPROM) += mw_eeprom.o |