mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 19:57:00 +07:00
c5f9d6b137
With the newly added physmap_of_versatile code, we get a build error when physmap_of is in a module, because of_flash_probe_versatile is not exported: ERROR: "of_flash_probe_versatile" [drivers/mtd/maps/physmap_of.ko] undefined! This adds the export, and changes the Makefile so that the code is also put into a loadable module rather than built-in when physmap_of itself is a module. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
49 lines
1.7 KiB
Makefile
49 lines
1.7 KiB
Makefile
#
|
|
# linux/drivers/maps/Makefile
|
|
#
|
|
|
|
ifeq ($(CONFIG_MTD_COMPLEX_MAPPINGS),y)
|
|
obj-$(CONFIG_MTD) += map_funcs.o
|
|
endif
|
|
|
|
# Chip mappings
|
|
obj-$(CONFIG_MTD_CFI_FLAGADM) += cfi_flagadm.o
|
|
obj-$(CONFIG_MTD_DC21285) += dc21285.o
|
|
obj-$(CONFIG_MTD_L440GX) += l440gx.o
|
|
obj-$(CONFIG_MTD_AMD76XROM) += amd76xrom.o
|
|
obj-$(CONFIG_MTD_ESB2ROM) += esb2rom.o
|
|
obj-$(CONFIG_MTD_ICHXROM) += ichxrom.o
|
|
obj-$(CONFIG_MTD_CK804XROM) += ck804xrom.o
|
|
obj-$(CONFIG_MTD_TSUNAMI) += tsunami_flash.o
|
|
obj-$(CONFIG_MTD_PXA2XX) += pxa2xx-flash.o
|
|
obj-$(CONFIG_MTD_PHYSMAP) += physmap.o
|
|
obj-$(CONFIG_MTD_PHYSMAP_OF) += physmap_of.o
|
|
ifdef CONFIG_MTD_PHYSMAP_OF_VERSATILE
|
|
obj-$(CONFIG_MTD_PHYSMAP_OF) += physmap_of_versatile.o
|
|
endif
|
|
obj-$(CONFIG_MTD_PISMO) += pismo.o
|
|
obj-$(CONFIG_MTD_PMC_MSP_EVM) += pmcmsp-flash.o
|
|
obj-$(CONFIG_MTD_PCMCIA) += pcmciamtd.o
|
|
obj-$(CONFIG_MTD_SA1100) += sa1100-flash.o
|
|
obj-$(CONFIG_MTD_SBC_GXX) += sbc_gxx.o
|
|
obj-$(CONFIG_MTD_SC520CDP) += sc520cdp.o
|
|
obj-$(CONFIG_MTD_NETSC520) += netsc520.o
|
|
obj-$(CONFIG_MTD_TS5500) += ts5500_flash.o
|
|
obj-$(CONFIG_MTD_SUN_UFLASH) += sun_uflash.o
|
|
obj-$(CONFIG_MTD_SCx200_DOCFLASH)+= scx200_docflash.o
|
|
obj-$(CONFIG_MTD_SOLUTIONENGINE)+= solutionengine.o
|
|
obj-$(CONFIG_MTD_PCI) += pci.o
|
|
obj-$(CONFIG_MTD_IMPA7) += impa7.o
|
|
obj-$(CONFIG_MTD_UCLINUX) += uclinux.o
|
|
obj-$(CONFIG_MTD_NETtel) += nettel.o
|
|
obj-$(CONFIG_MTD_SCB2_FLASH) += scb2_flash.o
|
|
obj-$(CONFIG_MTD_IXP4XX) += ixp4xx.o
|
|
obj-$(CONFIG_MTD_PLATRAM) += plat-ram.o
|
|
obj-$(CONFIG_MTD_INTEL_VR_NOR) += intel_vr_nor.o
|
|
obj-$(CONFIG_MTD_BFIN_ASYNC) += bfin-async-flash.o
|
|
obj-$(CONFIG_MTD_RBTX4939) += rbtx4939-flash.o
|
|
obj-$(CONFIG_MTD_VMU) += vmu-flash.o
|
|
obj-$(CONFIG_MTD_GPIO_ADDR) += gpio-addr-flash.o
|
|
obj-$(CONFIG_MTD_LATCH_ADDR) += latch-addr-flash.o
|
|
obj-$(CONFIG_MTD_LANTIQ) += lantiq-flash.o
|