mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
d85879938d
Implement a Memory Technology Device (MTD) uclass. It should include most flash drivers in the future. Though no uclass ops are defined yet, the MTD ops could be used. The NAND flash driver is based on MTD. The CFI flash and SPI flash support MTD, too. It should make sense to convert them to MTD uclass. Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
21 lines
704 B
Makefile
21 lines
704 B
Makefile
#
|
|
# (C) Copyright 2000-2007
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
ifneq (,$(findstring y,$(CONFIG_MTD_DEVICE)$(CONFIG_CMD_NAND)$(CONFIG_CMD_ONENAND)$(CONFIG_CMD_SF)))
|
|
obj-y += mtdcore.o mtd_uboot.o
|
|
endif
|
|
obj-$(CONFIG_MTD) += mtd-uclass.o
|
|
obj-$(CONFIG_MTD_PARTITIONS) += mtdpart.o
|
|
obj-$(CONFIG_MTD_CONCAT) += mtdconcat.o
|
|
obj-$(CONFIG_HAS_DATAFLASH) += at45.o
|
|
obj-$(CONFIG_FLASH_CFI_DRIVER) += cfi_flash.o
|
|
obj-$(CONFIG_FLASH_CFI_MTD) += cfi_mtd.o
|
|
obj-$(CONFIG_HAS_DATAFLASH) += dataflash.o
|
|
obj-$(CONFIG_FTSMC020) += ftsmc020.o
|
|
obj-$(CONFIG_FLASH_CFI_LEGACY) += jedec_flash.o
|
|
obj-$(CONFIG_MW_EEPROM) += mw_eeprom.o
|
|
obj-$(CONFIG_ST_SMI) += st_smi.o
|