2005-04-16 22:20:36 +00:00
|
|
|
#
|
|
|
|
# Makefile for the linux arm-specific parts of the memory manager.
|
|
|
|
#
|
|
|
|
|
2017-05-24 10:24:30 +00:00
|
|
|
obj-y := extable.o fault.o init.o iomap.o
|
|
|
|
obj-y += dma-mapping$(MMUEXT).o
|
2010-11-21 11:41:57 +00:00
|
|
|
obj-$(CONFIG_MMU) += fault-armv.o flush.o idmap.o ioremap.o \
|
2014-11-29 02:02:11 +00:00
|
|
|
mmap.o pgd.o mmu.o pageattr.o
|
2006-06-22 14:05:36 +00:00
|
|
|
|
|
|
|
ifneq ($(CONFIG_MMU),y)
|
|
|
|
obj-y += nommu.o
|
|
|
|
endif
|
|
|
|
|
2013-10-23 15:13:02 +00:00
|
|
|
obj-$(CONFIG_ARM_PTDUMP) += dump.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_MODULES) += proc-syms.o
|
2017-01-15 02:59:00 +00:00
|
|
|
obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_ALIGNMENT_TRAP) += alignment.o
|
2008-09-15 20:44:55 +00:00
|
|
|
obj-$(CONFIG_HIGHMEM) += highmem.o
|
2012-07-25 13:32:38 +00:00
|
|
|
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
|
2015-04-04 15:58:38 +00:00
|
|
|
obj-$(CONFIG_ARM_PV_FIXUP) += pv-fixup-asm.o
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2006-09-28 12:46:16 +00:00
|
|
|
obj-$(CONFIG_CPU_ABRT_NOMMU) += abort-nommu.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_CPU_ABRT_EV4) += abort-ev4.o
|
|
|
|
obj-$(CONFIG_CPU_ABRT_EV4T) += abort-ev4t.o
|
|
|
|
obj-$(CONFIG_CPU_ABRT_LV4T) += abort-lv4t.o
|
|
|
|
obj-$(CONFIG_CPU_ABRT_EV5T) += abort-ev5t.o
|
|
|
|
obj-$(CONFIG_CPU_ABRT_EV5TJ) += abort-ev5tj.o
|
|
|
|
obj-$(CONFIG_CPU_ABRT_EV6) += abort-ev6.o
|
2007-05-08 21:45:26 +00:00
|
|
|
obj-$(CONFIG_CPU_ABRT_EV7) += abort-ev7.o
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2010-01-12 19:02:05 +00:00
|
|
|
AFLAGS_abort-ev6.o :=-Wa,-march=armv6k
|
|
|
|
AFLAGS_abort-ev7.o :=-Wa,-march=armv7-a
|
|
|
|
|
2009-09-25 12:39:47 +00:00
|
|
|
obj-$(CONFIG_CPU_PABRT_LEGACY) += pabort-legacy.o
|
|
|
|
obj-$(CONFIG_CPU_PABRT_V6) += pabort-v6.o
|
|
|
|
obj-$(CONFIG_CPU_PABRT_V7) += pabort-v7.o
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_CPU_CACHE_V4) += cache-v4.o
|
|
|
|
obj-$(CONFIG_CPU_CACHE_V4WT) += cache-v4wt.o
|
|
|
|
obj-$(CONFIG_CPU_CACHE_V4WB) += cache-v4wb.o
|
|
|
|
obj-$(CONFIG_CPU_CACHE_V6) += cache-v6.o
|
2007-05-08 21:45:26 +00:00
|
|
|
obj-$(CONFIG_CPU_CACHE_V7) += cache-v7.o
|
2009-03-25 11:10:01 +00:00
|
|
|
obj-$(CONFIG_CPU_CACHE_FA) += cache-fa.o
|
2013-03-21 20:02:37 +00:00
|
|
|
obj-$(CONFIG_CPU_CACHE_NOP) += cache-nop.o
|
2016-08-30 16:31:22 +00:00
|
|
|
obj-$(CONFIG_CPU_CACHE_V7M) += cache-v7m.o
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2010-01-12 19:02:05 +00:00
|
|
|
AFLAGS_cache-v6.o :=-Wa,-march=armv6
|
|
|
|
AFLAGS_cache-v7.o :=-Wa,-march=armv7-a
|
2016-08-30 16:31:22 +00:00
|
|
|
AFLAGS_cache-v7m.o :=-Wa,-march=armv7-m
|
2010-01-12 19:02:05 +00:00
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_CPU_COPY_V4WT) += copypage-v4wt.o
|
|
|
|
obj-$(CONFIG_CPU_COPY_V4WB) += copypage-v4wb.o
|
2008-04-24 05:31:45 +00:00
|
|
|
obj-$(CONFIG_CPU_COPY_FEROCEON) += copypage-feroceon.o
|
2006-08-21 18:23:38 +00:00
|
|
|
obj-$(CONFIG_CPU_COPY_V6) += copypage-v6.o context.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_CPU_SA1100) += copypage-v4mc.o
|
|
|
|
obj-$(CONFIG_CPU_XSCALE) += copypage-xscale.o
|
2006-03-28 20:00:40 +00:00
|
|
|
obj-$(CONFIG_CPU_XSC3) += copypage-xsc3.o
|
2009-03-25 11:10:01 +00:00
|
|
|
obj-$(CONFIG_CPU_COPY_FA) += copypage-fa.o
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2015-05-26 15:10:02 +00:00
|
|
|
CFLAGS_copypage-feroceon.o := -march=armv5te
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_CPU_TLB_V4WT) += tlb-v4.o
|
|
|
|
obj-$(CONFIG_CPU_TLB_V4WB) += tlb-v4wb.o
|
|
|
|
obj-$(CONFIG_CPU_TLB_V4WBI) += tlb-v4wbi.o
|
2008-06-22 20:45:04 +00:00
|
|
|
obj-$(CONFIG_CPU_TLB_FEROCEON) += tlb-v4wbi.o # reuse v4wbi TLB functions
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_CPU_TLB_V6) += tlb-v6.o
|
2007-05-18 10:25:31 +00:00
|
|
|
obj-$(CONFIG_CPU_TLB_V7) += tlb-v7.o
|
2009-03-25 11:10:01 +00:00
|
|
|
obj-$(CONFIG_CPU_TLB_FA) += tlb-fa.o
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2010-01-12 19:02:05 +00:00
|
|
|
AFLAGS_tlb-v6.o :=-Wa,-march=armv6
|
|
|
|
AFLAGS_tlb-v7.o :=-Wa,-march=armv7-a
|
|
|
|
|
2006-09-26 08:37:36 +00:00
|
|
|
obj-$(CONFIG_CPU_ARM7TDMI) += proc-arm7tdmi.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_CPU_ARM720T) += proc-arm720.o
|
2006-09-26 08:37:50 +00:00
|
|
|
obj-$(CONFIG_CPU_ARM740T) += proc-arm740.o
|
2006-09-26 08:38:05 +00:00
|
|
|
obj-$(CONFIG_CPU_ARM9TDMI) += proc-arm9tdmi.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_CPU_ARM920T) += proc-arm920.o
|
|
|
|
obj-$(CONFIG_CPU_ARM922T) += proc-arm922.o
|
|
|
|
obj-$(CONFIG_CPU_ARM925T) += proc-arm925.o
|
|
|
|
obj-$(CONFIG_CPU_ARM926T) += proc-arm926.o
|
2006-09-26 08:38:18 +00:00
|
|
|
obj-$(CONFIG_CPU_ARM940T) += proc-arm940.o
|
2006-09-26 08:38:32 +00:00
|
|
|
obj-$(CONFIG_CPU_ARM946E) += proc-arm946.o
|
2009-03-25 11:10:01 +00:00
|
|
|
obj-$(CONFIG_CPU_FA526) += proc-fa526.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_CPU_ARM1020) += proc-arm1020.o
|
|
|
|
obj-$(CONFIG_CPU_ARM1020E) += proc-arm1020e.o
|
|
|
|
obj-$(CONFIG_CPU_ARM1022) += proc-arm1022.o
|
|
|
|
obj-$(CONFIG_CPU_ARM1026) += proc-arm1026.o
|
|
|
|
obj-$(CONFIG_CPU_SA110) += proc-sa110.o
|
|
|
|
obj-$(CONFIG_CPU_SA1100) += proc-sa1100.o
|
|
|
|
obj-$(CONFIG_CPU_XSCALE) += proc-xscale.o
|
2006-03-28 20:00:40 +00:00
|
|
|
obj-$(CONFIG_CPU_XSC3) += proc-xsc3.o
|
2009-01-20 06:15:18 +00:00
|
|
|
obj-$(CONFIG_CPU_MOHAWK) += proc-mohawk.o
|
2007-10-23 19:14:41 +00:00
|
|
|
obj-$(CONFIG_CPU_FEROCEON) += proc-feroceon.o
|
2005-11-19 10:01:07 +00:00
|
|
|
obj-$(CONFIG_CPU_V6) += proc-v6.o
|
2011-01-17 15:08:32 +00:00
|
|
|
obj-$(CONFIG_CPU_V6K) += proc-v6.o
|
2007-05-08 21:45:26 +00:00
|
|
|
obj-$(CONFIG_CPU_V7) += proc-v7.o
|
2013-03-21 20:02:37 +00:00
|
|
|
obj-$(CONFIG_CPU_V7M) += proc-v7m.o
|
2007-02-05 13:48:19 +00:00
|
|
|
|
2010-01-12 19:02:05 +00:00
|
|
|
AFLAGS_proc-v6.o :=-Wa,-march=armv6
|
|
|
|
AFLAGS_proc-v7.o :=-Wa,-march=armv7-a
|
|
|
|
|
2014-03-16 13:14:38 +00:00
|
|
|
obj-$(CONFIG_OUTER_CACHE) += l2c-common.o
|
2008-06-22 20:45:04 +00:00
|
|
|
obj-$(CONFIG_CACHE_FEROCEON_L2) += cache-feroceon-l2.o
|
2014-04-05 10:39:57 +00:00
|
|
|
obj-$(CONFIG_CACHE_L2X0) += cache-l2x0.o l2c-l2x0-resume.o
|
2016-09-02 09:35:18 +00:00
|
|
|
obj-$(CONFIG_CACHE_L2X0_PMU) += cache-l2x0-pmu.o
|
2008-06-06 08:34:03 +00:00
|
|
|
obj-$(CONFIG_CACHE_XSC3L2) += cache-xsc3l2.o
|
2009-11-24 17:33:52 +00:00
|
|
|
obj-$(CONFIG_CACHE_TAUROS2) += cache-tauros2.o
|
2015-10-02 04:42:19 +00:00
|
|
|
obj-$(CONFIG_CACHE_UNIPHIER) += cache-uniphier.o
|