Commit 0cdc8b92 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Nicolas Pitre

ARM: switch from NO_MACH_MEMORY_H to NEED_MACH_MEMORY_H

Given that we want the default to not have any <mach/memory.h> and given
that there are now fewer cases where it is still provided than the cases
where it is not at this point, this makes sense to invert the logic and
just identify the exception cases.

The word "need" instead of "have" was chosen to construct the config
symbol so not to suggest that having a mach/memory.h file is actually
a feature that one should aim for.
Signed-off-by: default avatarNicolas Pitre <nicolas.pitre@linaro.org>
parent 48de58e3
This diff is collapsed.
......@@ -18,7 +18,7 @@
#include <linux/types.h>
#include <asm/sizes.h>
#ifndef CONFIG_NO_MACH_MEMORY_H
#ifdef CONFIG_NEED_MACH_MEMORY_H
#include <mach/memory.h>
#endif
......
......@@ -14,6 +14,7 @@ config ARCH_OMAP1
select CLKDEV_LOOKUP
select CLKSRC_MMIO
select GENERIC_IRQ_CHIP
select NEED_MACH_MEMORY_H
help
"Systems based on omap7xx, omap15xx or omap16xx"
......@@ -22,7 +23,6 @@ config ARCH_OMAP2PLUS
select CLKDEV_LOOKUP
select GENERIC_IRQ_CHIP
select OMAP_DM_TIMER
select NO_MACH_MEMORY_H
help
"Systems based on OMAP2, OMAP3 or OMAP4"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment