diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-07-01 17:25:41 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-07-09 13:07:38 +0000 |
commit | 76c43866990bf61c35b1fb6f6915614eebc8d4a4 (patch) | |
tree | 112cb5a5b27b110c7c7de827ff8fdaf8df2d82a8 /src/Kconfig | |
parent | c6b152a976e02b1693a2f8239b11675e80acf541 (diff) | |
download | coreboot-76c43866990bf61c35b1fb6f6915614eebc8d4a4.tar.xz |
arch/non-x86: Flip HAVE_MONOTONIC_TIMER default
Also remove allwinner/a10 dummy monotonic_timer
implementation.
Change-Id: I9dfa9b92dc63375465e3bb87b73eeefad601c810
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34112
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/Kconfig')
-rw-r--r-- | src/Kconfig | 10 |
1 files changed, 8 insertions, 2 deletions
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. |