From 76c43866990bf61c35b1fb6f6915614eebc8d4a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Mon, 1 Jul 2019 17:25:41 +0300 Subject: arch/non-x86: Flip HAVE_MONOTONIC_TIMER default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also remove allwinner/a10 dummy monotonic_timer implementation. Change-Id: I9dfa9b92dc63375465e3bb87b73eeefad601c810 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/34112 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/Kconfig | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/Kconfig') diff --git a/src/Kconfig b/src/Kconfig index 38209ee6e1..f79a3904af 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -501,14 +501,20 @@ config HAVE_ROMSTAGE_MICROCODE_CBFS_SPINLOCK bool default n -config HAVE_MONOTONIC_TIMER +config NO_MONOTONIC_TIMER def_bool n + +config HAVE_MONOTONIC_TIMER + bool + depends on !NO_MONOTONIC_TIMER + default y if !ARCH_X86 help The board/chipset provides a monotonic timer. config GENERIC_UDELAY - def_bool n + bool depends on HAVE_MONOTONIC_TIMER + default y if !ARCH_X86 help The board/chipset uses a generic udelay function utilizing the monotonic timer. -- cgit v1.2.3