diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2013-03-21 16:02:37 -0400 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2013-04-17 15:45:09 -0400 |
commit | 4477ca45fb368880bf77b10ed3b24b03f0cc82da (patch) | |
tree | e6d68b038b2817856fa9b21b235447d2154f0115 /arch/arm/Kconfig | |
parent | 19c4d593f0b4bd46f6d923a3e514719982a22058 (diff) |
ARM: ARMv7-M: Allow the building of new kernel port
This patch modifies the required Kconfig and Makefile files to allow the
building of kernel for Cortex-M3.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Jonathan Austin <jonathan.austin@arm.com>
Tested-by: Jonathan Austin <jonathan.austin@arm.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index dedf02b6f322..7c8c6079f948 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -9,7 +9,7 @@ config ARM | |||
9 | select BUILDTIME_EXTABLE_SORT if MMU | 9 | select BUILDTIME_EXTABLE_SORT if MMU |
10 | select CPU_PM if (SUSPEND || CPU_IDLE) | 10 | select CPU_PM if (SUSPEND || CPU_IDLE) |
11 | select DCACHE_WORD_ACCESS if (CPU_V6 || CPU_V6K || CPU_V7) && !CPU_BIG_ENDIAN && MMU | 11 | select DCACHE_WORD_ACCESS if (CPU_V6 || CPU_V6K || CPU_V7) && !CPU_BIG_ENDIAN && MMU |
12 | select GENERIC_ATOMIC64 if (CPU_V6 || !CPU_32v6K || !AEABI) | 12 | select GENERIC_ATOMIC64 if (CPU_V7M || CPU_V6 || !CPU_32v6K || !AEABI) |
13 | select GENERIC_CLOCKEVENTS_BROADCAST if SMP | 13 | select GENERIC_CLOCKEVENTS_BROADCAST if SMP |
14 | select GENERIC_IRQ_PROBE | 14 | select GENERIC_IRQ_PROBE |
15 | select GENERIC_IRQ_SHOW | 15 | select GENERIC_IRQ_SHOW |
@@ -1685,7 +1685,7 @@ config SCHED_HRTICK | |||
1685 | 1685 | ||
1686 | config THUMB2_KERNEL | 1686 | config THUMB2_KERNEL |
1687 | bool "Compile the kernel in Thumb-2 mode" if !CPU_THUMBONLY | 1687 | bool "Compile the kernel in Thumb-2 mode" if !CPU_THUMBONLY |
1688 | depends on CPU_V7 && !CPU_V6 && !CPU_V6K | 1688 | depends on (CPU_V7 || CPU_V7M) && !CPU_V6 && !CPU_V6K |
1689 | default y if CPU_THUMBONLY | 1689 | default y if CPU_THUMBONLY |
1690 | select AEABI | 1690 | select AEABI |
1691 | select ARM_ASM_UNIFIED | 1691 | select ARM_ASM_UNIFIED |