2005-04-16 15:20:36 -07:00
#
# Makefile for the linux arm-specific parts of the memory manager.
#
2008-09-25 15:59:19 +01:00
obj-y := dma-mapping.o extable.o fault.o init.o \
2006-06-24 17:34:50 +01:00
iomap.o
2005-04-16 15:20:36 -07:00
2010-11-21 11:41:57 +00:00
obj-$(CONFIG_MMU) += fault-armv.o flush.o idmap.o ioremap.o \
2014-11-29 03:02:11 +01:00
mmap.o pgd.o mmu.o pageattr.o
2006-06-22 15:05:36 +01:00
i f n e q ( $( CONFIG_MMU ) , y )
obj-y += nommu.o
e n d i f
2013-10-23 16:13:02 +01:00
obj-$(CONFIG_ARM_PTDUMP) += dump.o
2005-04-16 15:20:36 -07:00
obj-$(CONFIG_MODULES) += proc-syms.o
obj-$(CONFIG_ALIGNMENT_TRAP) += alignment.o
2008-09-15 16:44:55 -04:00
obj-$(CONFIG_HIGHMEM) += highmem.o
2012-07-25 14:32:38 +01:00
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
2015-04-04 16:58:38 +01:00
obj-$(CONFIG_ARM_PV_FIXUP) += pv-fixup-asm.o
2005-04-16 15:20:36 -07:00
2006-09-28 21:46:16 +09:00
obj-$(CONFIG_CPU_ABRT_NOMMU) += abort-nommu.o
2005-04-16 15:20:36 -07: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 22:45:26 +01:00
obj-$(CONFIG_CPU_ABRT_EV7) += abort-ev7.o
2005-04-16 15:20:36 -07: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 13:39:47 +01: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 15:20:36 -07: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 22:45:26 +01:00
obj-$(CONFIG_CPU_CACHE_V7) += cache-v7.o
2009-03-25 13:10:01 +02:00
obj-$(CONFIG_CPU_CACHE_FA) += cache-fa.o
2013-03-21 21:02:37 +01:00
obj-$(CONFIG_CPU_CACHE_NOP) += cache-nop.o
2016-08-30 17:31:22 +01:00
obj-$(CONFIG_CPU_CACHE_V7M) += cache-v7m.o
2005-04-16 15:20:36 -07: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 17:31:22 +01:00
AFLAGS_cache-v7m.o := -Wa,-march= armv7-m
2010-01-12 19:02:05 +00:00
2005-04-16 15:20:36 -07:00
obj-$(CONFIG_CPU_COPY_V4WT) += copypage-v4wt.o
obj-$(CONFIG_CPU_COPY_V4WB) += copypage-v4wb.o
2008-04-24 01:31:45 -04:00
obj-$(CONFIG_CPU_COPY_FEROCEON) += copypage-feroceon.o
2006-08-21 19:23:38 +01:00
obj-$(CONFIG_CPU_COPY_V6) += copypage-v6.o context.o
2005-04-16 15:20:36 -07:00
obj-$(CONFIG_CPU_SA1100) += copypage-v4mc.o
obj-$(CONFIG_CPU_XSCALE) += copypage-xscale.o
2006-03-28 21:00:40 +01:00
obj-$(CONFIG_CPU_XSC3) += copypage-xsc3.o
2009-03-25 13:10:01 +02:00
obj-$(CONFIG_CPU_COPY_FA) += copypage-fa.o
2005-04-16 15:20:36 -07:00
2015-05-26 16:10:02 +01:00
CFLAGS_copypage-feroceon.o := -march= armv5te
2005-04-16 15:20:36 -07: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 22:45:04 +02:00
obj-$(CONFIG_CPU_TLB_FEROCEON) += tlb-v4wbi.o # reuse v4wbi TLB functions
2005-04-16 15:20:36 -07:00
obj-$(CONFIG_CPU_TLB_V6) += tlb-v6.o
2007-05-18 11:25:31 +01:00
obj-$(CONFIG_CPU_TLB_V7) += tlb-v7.o
2009-03-25 13:10:01 +02:00
obj-$(CONFIG_CPU_TLB_FA) += tlb-fa.o
2005-04-16 15:20:36 -07: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 17:37:36 +09:00
obj-$(CONFIG_CPU_ARM7TDMI) += proc-arm7tdmi.o
2005-04-16 15:20:36 -07:00
obj-$(CONFIG_CPU_ARM720T) += proc-arm720.o
2006-09-26 17:37:50 +09:00
obj-$(CONFIG_CPU_ARM740T) += proc-arm740.o
2006-09-26 17:38:05 +09:00
obj-$(CONFIG_CPU_ARM9TDMI) += proc-arm9tdmi.o
2005-04-16 15:20:36 -07: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 17:38:18 +09:00
obj-$(CONFIG_CPU_ARM940T) += proc-arm940.o
2006-09-26 17:38:32 +09:00
obj-$(CONFIG_CPU_ARM946E) += proc-arm946.o
2009-03-25 13:10:01 +02:00
obj-$(CONFIG_CPU_FA526) += proc-fa526.o
2005-04-16 15:20:36 -07: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 21:00:40 +01:00
obj-$(CONFIG_CPU_XSC3) += proc-xsc3.o
2009-01-20 14:15:18 +08:00
obj-$(CONFIG_CPU_MOHAWK) += proc-mohawk.o
2007-10-23 15:14:41 -04: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 22:45:26 +01:00
obj-$(CONFIG_CPU_V7) += proc-v7.o
2013-03-21 21:02:37 +01:00
obj-$(CONFIG_CPU_V7M) += proc-v7m.o
2007-02-05 14:48:19 +01: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 22:45:04 +02:00
obj-$(CONFIG_CACHE_FEROCEON_L2) += cache-feroceon-l2.o
2014-04-05 11:39:57 +01:00
obj-$(CONFIG_CACHE_L2X0) += cache-l2x0.o l2c-l2x0-resume.o
2016-09-02 10:35:18 +01:00
obj-$(CONFIG_CACHE_L2X0_PMU) += cache-l2x0-pmu.o
2008-06-06 16:34:03 +08:00
obj-$(CONFIG_CACHE_XSC3L2) += cache-xsc3l2.o
2009-11-24 19:33:52 +02:00
obj-$(CONFIG_CACHE_TAUROS2) += cache-tauros2.o
2015-10-02 13:42:19 +09:00
obj-$(CONFIG_CACHE_UNIPHIER) += cache-uniphier.o