mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 00:27:24 +07:00
4f04f68e15
physmap_of sort of depends on the gemini and versatile modules (when
they're enabled), but this isn't expressed in Kconfig. Let's just merge
the modules all together, when enabled. Then we can avoid exporting a
few symbols, and the versatile and gemini code can now be modular again
(the below commit accidentally made them built-in only).
Resolves errors like this:
ERROR: "of_flash_probe_versatile" [drivers/mtd/maps/physmap_of.ko] undefined!
ERROR: "of_flash_probe_gemini" [drivers/mtd/maps/physmap_of.ko] undefined!
Fixes: 56ff337ea4
("mtd: physmap_of: add a hook for Gemini flash probing")
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
52 lines
1.8 KiB
Makefile
52 lines
1.8 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
|
|
ifdef CONFIG_MTD_PHYSMAP_OF_VERSATILE
|
|
physmap_of-objs += physmap_of_versatile.o
|
|
endif
|
|
ifdef CONFIG_MTD_PHYSMAP_OF_GEMINI
|
|
physmap_of-objs += physmap_of_gemini.o
|
|
endif
|
|
obj-$(CONFIG_MTD_PHYSMAP_OF) += physmap_of.o
|
|
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
|