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