ipq40xx: Add patches for 4.19
[oweals/openwrt.git] / target / linux / ipq40xx / patches-4.19 / 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 --- a/arch/arm/Makefile
16 +++ b/arch/arm/Makefile
17 @@ -150,6 +150,7 @@ textofs-$(CONFIG_ARCH_MSM8X60) := 0x0020
18  textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000
19  textofs-$(CONFIG_ARCH_MESON) := 0x00208000
20  textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000
21 +textofs-$(CONFIG_ARCH_IPQ40XX) := 0x00208000
22  
23  # Machine directory name.  This list is sorted alphanumerically
24  # by CONFIG_* macro name.
25 --- a/arch/arm/mach-qcom/Kconfig
26 +++ b/arch/arm/mach-qcom/Kconfig
27 @@ -27,4 +27,9 @@ config ARCH_MDM9615
28         bool "Enable support for MDM9615"
29         select CLKSRC_QCOM
30  
31 +config ARCH_IPQ40XX
32 +       bool "Enable support for IPQ40XX"
33 +       select CLKSRC_QCOM
34 +       select HAVE_ARM_ARCH_TIMER
35 +
36  endif