--- zzzz-none-000/linux-3.10.107/drivers/mtd/devices/Makefile 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/mtd/devices/Makefile 2021-02-04 17:41:59.000000000 +0000 @@ -12,10 +12,18 @@ obj-$(CONFIG_MTD_BLOCK2MTD) += block2mtd.o obj-$(CONFIG_MTD_DATAFLASH) += mtd_dataflash.o obj-$(CONFIG_MTD_M25P80) += m25p80.o -obj-$(CONFIG_MTD_NAND_OMAP_BCH) += elm.o obj-$(CONFIG_MTD_SPEAR_SMI) += spear_smi.o obj-$(CONFIG_MTD_SST25L) += sst25l.o obj-$(CONFIG_MTD_BCM47XXSFLASH) += bcm47xxsflash.o +obj-$(CONFIG_MTD_ST_SPI_FSM) += st_spi_fsm.o +obj-$(CONFIG_MTD_POWERNV_FLASH) += powernv_flash.o CFLAGS_docg3.o += -I$(src) + +obj-$(CONFIG_MTD_ATH_FLASH) += ath_flash.o + +ifeq ($(ATH_SST_FLASH), y) +CFLAGS_ar7240_flash.o += -DATH_SST_FLASH=1 +CFLAGS_ath_flash.o += -DATH_SST_FLASH=1 +endif \ No newline at end of file