riscv: fix ARM_TIMER_SP804

[..]
Found unset config items, please set them to an appropriate value
CONFIG_ARM_TIMER_SP804=n
[..]

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2019-01-15 03:36:51 +01:00
parent a0a6f7a375
commit 6f9cf326c7
Signed by: davidlt
GPG Key ID: 7108702C938B13C1
2 changed files with 27 additions and 0 deletions

View File

@ -615,6 +615,8 @@ Patch503: CVE-2019-3701.patch
# https://patchwork.kernel.org/patch/10752253/
Patch504: efi-use-32-bit-alignment-for-efi_guid_t.patch
Patch510: riscv-arm-fix.patch
# END OF PATCH DEFINITIONS
%endif

25
riscv-arm-fix.patch Normal file
View File

@ -0,0 +1,25 @@
From 7b8dfd22b3879a857d6bfb5ed2d4b232e8543b0a Mon Sep 17 00:00:00 2001
From: Fedora Kernel Team <kernel-team@fedoraproject.org>
Date: Tue, 15 Jan 2019 02:19:44 +0000
Subject: [PATCH] riscv arm fix
---
drivers/clocksource/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 8dfd3bc..1605825 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -379,7 +379,7 @@ config ARM_GLOBAL_TIMER
config ARM_TIMER_SP804
bool "Support for Dual Timer SP804 module"
- depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP
+ depends on (ARM || ARM64) && GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP
select CLKSRC_MMIO
select TIMER_OF if OF
--
2.17.1