summaryrefslogtreecommitdiff
path: root/arch/arm/mach-qemu
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2018-04-12 04:24:46 +0300
committerTom Rini <trini@konsulko.com>2018-04-29 01:30:43 +0300
commit7842b6a91ece2484475d94487ec2b63a2832a4cf (patch)
treee8f5e8ee6b3b78bf826c581a368d98b192bddb67 /arch/arm/mach-qemu
parent1a164ad304a9888193ea71227bcc6b7c06149cbe (diff)
downloadu-boot-7842b6a91ece2484475d94487ec2b63a2832a4cf.tar.xz
arm: move SYS_ARCH_TIMER to KConfig
SYS_ARCH_TIMER guards the usage of the ARM Generic Timer (aka arch timer) in U-Boot. At the moment it is mandatory for ARMv8 and used by a few ARMv7 boards. Add a proper Kconfig symbol to express this dependency properly, allowing certain board configuration to later disable arch timer in case there are any problems with it. Signed-off-by: Andre Przywara <andre.przywara@arm.com> [tuomas: rebase + fix conflicts and resync with moveconfig & use select] Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Diffstat (limited to 'arch/arm/mach-qemu')
-rw-r--r--arch/arm/mach-qemu/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-qemu/Kconfig b/arch/arm/mach-qemu/Kconfig
index 133163aecf..226dfa362f 100644
--- a/arch/arm/mach-qemu/Kconfig
+++ b/arch/arm/mach-qemu/Kconfig
@@ -16,6 +16,7 @@ config TARGET_QEMU_ARM_32BIT
depends on ARCH_QEMU
select CPU_V7
select ARCH_SUPPORT_PSCI
+ select SYS_ARCH_TIMER
config TARGET_QEMU_ARM_64BIT
bool "Support qemu_arm64"