mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 22:10:24 +00:00
a2c2fe4b24
inlined below is the patch that adds physmap driver for of_device. It's an MTD part of the two-part support for flash/ROM devices based on Open Firmware descriptions. The arch part (currently only PowerPC which is no surprise) was introduced to powerpc folks earlier and recently the older version of the powerpc part has been included into the powerpc.git tree (see http://www.kernel.org/git/?p=linux/kernel/git/paulus/powerpc.git;a=commitdiff;h=28f9ec349ae47c91768b7bc5607db4442c818e11). drivers/mtd/maps/Kconfig | 9 + drivers/mtd/maps/Makefile | 1 drivers/mtd/maps/physmap_of.c | 255 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 265 insertions(+) Signed-off-by: Vitaly Wool <vwool@ru.mvista.com> Signed-off-by: Sergey Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
76 lines
2.8 KiB
Makefile
76 lines
2.8 KiB
Makefile
#
|
|
# linux/drivers/maps/Makefile
|
|
#
|
|
# $Id: Makefile.common,v 1.34 2005/11/07 11:14:26 gleixner Exp $
|
|
|
|
ifeq ($(CONFIG_MTD_COMPLEX_MAPPINGS),y)
|
|
obj-$(CONFIG_MTD) += map_funcs.o
|
|
endif
|
|
|
|
# Chip mappings
|
|
obj-$(CONFIG_MTD_CDB89712) += cdb89712.o
|
|
obj-$(CONFIG_MTD_ARM_INTEGRATOR)+= integrator-flash.o
|
|
obj-$(CONFIG_MTD_BAST) += bast-flash.o
|
|
obj-$(CONFIG_MTD_CFI_FLAGADM) += cfi_flagadm.o
|
|
obj-$(CONFIG_MTD_CSTM_MIPS_IXX) += cstm_mips_ixx.o
|
|
obj-$(CONFIG_MTD_DC21285) += dc21285.o
|
|
obj-$(CONFIG_MTD_DILNETPC) += dilnetpc.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_LUBBOCK) += lubbock-flash.o
|
|
obj-$(CONFIG_MTD_MAINSTONE) += mainstone-flash.o
|
|
obj-$(CONFIG_MTD_MBX860) += mbx860.o
|
|
obj-$(CONFIG_MTD_CEIVA) += ceiva.o
|
|
obj-$(CONFIG_MTD_OCTAGON) += octagon-5066.o
|
|
obj-$(CONFIG_MTD_PHYSMAP) += physmap.o
|
|
obj-$(CONFIG_MTD_PHYSMAP_OF) += physmap_of.o
|
|
obj-$(CONFIG_MTD_PNC2000) += pnc2000.o
|
|
obj-$(CONFIG_MTD_PCMCIA) += pcmciamtd.o
|
|
obj-$(CONFIG_MTD_RPXLITE) += rpxlite.o
|
|
obj-$(CONFIG_MTD_TQM8XXL) += tqm8xxl.o
|
|
obj-$(CONFIG_MTD_SA1100) += sa1100-flash.o
|
|
obj-$(CONFIG_MTD_IPAQ) += ipaq-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_VMAX) += vmax301.o
|
|
obj-$(CONFIG_MTD_SCx200_DOCFLASH)+= scx200_docflash.o
|
|
obj-$(CONFIG_MTD_DBOX2) += dbox2-flash.o
|
|
obj-$(CONFIG_MTD_OCELOT) += ocelot.o
|
|
obj-$(CONFIG_MTD_SOLUTIONENGINE)+= solutionengine.o
|
|
obj-$(CONFIG_MTD_PCI) += pci.o
|
|
obj-$(CONFIG_MTD_ALCHEMY) += alchemy-flash.o
|
|
obj-$(CONFIG_MTD_LASAT) += lasat.o
|
|
obj-$(CONFIG_MTD_AUTCPU12) += autcpu12-nvram.o
|
|
obj-$(CONFIG_MTD_EDB7312) += edb7312.o
|
|
obj-$(CONFIG_MTD_IMPA7) += impa7.o
|
|
obj-$(CONFIG_MTD_FORTUNET) += fortunet.o
|
|
obj-$(CONFIG_MTD_REDWOOD) += redwood.o
|
|
obj-$(CONFIG_MTD_UCLINUX) += uclinux.o
|
|
obj-$(CONFIG_MTD_NETtel) += nettel.o
|
|
obj-$(CONFIG_MTD_SCB2_FLASH) += scb2_flash.o
|
|
obj-$(CONFIG_MTD_EBONY) += ebony.o
|
|
obj-$(CONFIG_MTD_OCOTEA) += ocotea.o
|
|
obj-$(CONFIG_MTD_BEECH) += beech-mtd.o
|
|
obj-$(CONFIG_MTD_ARCTIC) += arctic-mtd.o
|
|
obj-$(CONFIG_MTD_WALNUT) += walnut.o
|
|
obj-$(CONFIG_MTD_H720X) += h720x-flash.o
|
|
obj-$(CONFIG_MTD_SBC8240) += sbc8240.o
|
|
obj-$(CONFIG_MTD_NOR_TOTO) += omap-toto-flash.o
|
|
obj-$(CONFIG_MTD_MPC1211) += mpc1211.o
|
|
obj-$(CONFIG_MTD_IXP4XX) += ixp4xx.o
|
|
obj-$(CONFIG_MTD_IXP2000) += ixp2000.o
|
|
obj-$(CONFIG_MTD_WRSBC8260) += wr_sbc82xx_flash.o
|
|
obj-$(CONFIG_MTD_DMV182) += dmv182.o
|
|
obj-$(CONFIG_MTD_SHARP_SL) += sharpsl-flash.o
|
|
obj-$(CONFIG_MTD_PLATRAM) += plat-ram.o
|
|
obj-$(CONFIG_MTD_OMAP_NOR) += omap_nor.o
|
|
obj-$(CONFIG_MTD_MTX1) += mtx-1_flash.o
|
|
obj-$(CONFIG_MTD_TQM834x) += tqm834x.o
|