cdecd142934ccf2d1cee5df314cfeb61be3a1972
[openwrt/openwrt.git] / target / linux / ipq40xx / patches-4.14 / 074-ARM-qcom-Add-IPQ4019-SoC-support.patch
1 From 89b43d59ec8c9cda588555eb1f2754dd19ef5144 Mon Sep 17 00:00:00 2001
2 From: Christian Lamparter <chunkeey@gmail.com>
3 Date: Sun, 22 Jul 2018 12:07:57 +0200
4 Subject: [PATCH 8/8] ARM: qcom: Add IPQ4019 SoC support
5
6 Add support for the Qualcomm Atheros IPQ4019 SoC.
7
8 Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
9 Signed-off-by: John Crispin <john@phrozen.org>
10 ---
11 arch/arm/Makefile | 1 +
12 arch/arm/mach-qcom/Kconfig | 5 +++++
13 2 files changed, 6 insertions(+)
14
15 Index: linux-4.14.54/arch/arm/Makefile
16 ===================================================================
17 --- linux-4.14.54.orig/arch/arm/Makefile
18 +++ linux-4.14.54/arch/arm/Makefile
19 @@ -150,6 +150,7 @@ endif
20 textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000
21 textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000
22 textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000
23 +textofs-$(CONFIG_ARCH_IPQ40XX) := 0x00208000
24
25 # Machine directory name. This list is sorted alphanumerically
26 # by CONFIG_* macro name.
27 Index: linux-4.14.54/arch/arm/mach-qcom/Kconfig
28 ===================================================================
29 --- linux-4.14.54.orig/arch/arm/mach-qcom/Kconfig
30 +++ linux-4.14.54/arch/arm/mach-qcom/Kconfig
31 @@ -27,4 +27,9 @@ config ARCH_MDM9615
32 bool "Enable support for MDM9615"
33 select CLKSRC_QCOM
34
35 +config ARCH_IPQ40XX
36 + bool "Enable support for IPQ40XX"
37 + select CLKSRC_QCOM
38 + select HAVE_ARM_ARCH_TIMER
39 +
40 endif