70a3c167c4
Recent BCM63XX devices support a variety of flash types (parallel, SPI, NAND) and share the partition layout. To prevent code duplication make the CFE partition parsing code a stand alone mtd parser to allow SPI or NAND flash drivers to use it. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
#
|
|
# Makefile for the memory technology device drivers.
|
|
#
|
|
|
|
# Core functionality.
|
|
obj-$(CONFIG_MTD) += mtd.o
|
|
mtd-y := mtdcore.o mtdsuper.o mtdconcat.o mtdpart.o
|
|
|
|
obj-$(CONFIG_MTD_OF_PARTS) += ofpart.o
|
|
obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o
|
|
obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
|
|
obj-$(CONFIG_MTD_AFS_PARTS) += afs.o
|
|
obj-$(CONFIG_MTD_AR7_PARTS) += ar7part.o
|
|
obj-$(CONFIG_MTD_BCM63XX_PARTS) += bcm63xxpart.o
|
|
|
|
# 'Users' - code which presents functionality to userspace.
|
|
obj-$(CONFIG_MTD_CHAR) += mtdchar.o
|
|
obj-$(CONFIG_MTD_BLKDEVS) += mtd_blkdevs.o
|
|
obj-$(CONFIG_MTD_BLOCK) += mtdblock.o
|
|
obj-$(CONFIG_MTD_BLOCK_RO) += mtdblock_ro.o
|
|
obj-$(CONFIG_FTL) += ftl.o
|
|
obj-$(CONFIG_NFTL) += nftl.o
|
|
obj-$(CONFIG_INFTL) += inftl.o
|
|
obj-$(CONFIG_RFD_FTL) += rfd_ftl.o
|
|
obj-$(CONFIG_SSFDC) += ssfdc.o
|
|
obj-$(CONFIG_SM_FTL) += sm_ftl.o
|
|
obj-$(CONFIG_MTD_OOPS) += mtdoops.o
|
|
obj-$(CONFIG_MTD_SWAP) += mtdswap.o
|
|
|
|
nftl-objs := nftlcore.o nftlmount.o
|
|
inftl-objs := inftlcore.o inftlmount.o
|
|
|
|
obj-y += chips/ lpddr/ maps/ devices/ nand/ onenand/ tests/
|
|
|
|
obj-$(CONFIG_MTD_UBI) += ubi/
|