mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 08:57:58 +00:00
5db66b3aee
There should not be a 'nand' command, a 'sf' command and certainly not a new 'spi-nand' command. Write a 'mtd' command instead to manage all MTD devices/partitions at once. This should be the preferred way to access any MTD device. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Jagan Teki <jagan@openedev.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
22 lines
793 B
Makefile
22 lines
793 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2000-2007
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
ifneq (,$(findstring y,$(CONFIG_MTD_DEVICE)$(CONFIG_CMD_NAND)$(CONFIG_CMD_ONENAND)$(CONFIG_CMD_SF)$(CONFIG_CMD_MTD)))
|
|
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_ALTERA_QSPI) += altera_qspi.o
|
|
obj-$(CONFIG_FLASH_CFI_DRIVER) += cfi_flash.o
|
|
obj-$(CONFIG_FLASH_CFI_MTD) += cfi_mtd.o
|
|
obj-$(CONFIG_FLASH_CFI_LEGACY) += jedec_flash.o
|
|
obj-$(CONFIG_MW_EEPROM) += mw_eeprom.o
|
|
obj-$(CONFIG_FLASH_PIC32) += pic32_flash.o
|
|
obj-$(CONFIG_ST_SMI) += st_smi.o
|
|
obj-$(CONFIG_STM32_FLASH) += stm32_flash.o
|
|
obj-$(CONFIG_RENESAS_RPC_HF) += renesas_rpc_hf.o
|
|
|
|
obj-y += nand/
|