ARM: prepare for removal of a bunch of <mach/memory.h> files
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 6 Jul 2011 02:52:51 +0000 (22:52 -0400)
committerNicolas Pitre <nico@fluxnic.net>
Mon, 26 Sep 2011 14:11:58 +0000 (10:11 -0400)
commit1b9f95f8ade9efc2bd49f0e7b9dc61a038ac3eef
tree3e5d06f8e6a0b177ff2e201fb76fdf319a229f8e
parent67f462b29310814a8de29d35b422a9ed41d5f39a
ARM: prepare for removal of a bunch of <mach/memory.h> files

When the CONFIG_NO_MACH_MEMORY_H symbol is selected by a particular
machine class, the machine specific memory.h include file is no longer
used and can be removed.  In that case the equivalent information can
be obtained dynamically at runtime by enabling CONFIG_ARM_PATCH_PHYS_VIRT
or by specifying the physical memory address at kernel configuration time.

If/when all instances of mach/memory.h are removed then this symbol could
be removed.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
arch/arm/Kconfig
arch/arm/include/asm/memory.h
arch/arm/kernel/head.S