ipq40xx: 5.4: update and reorder patches
[openwrt/staging/jow.git] / target / linux / ipq40xx / patches-5.4 / 0001-v5.7-ARM-qcom-Add-support-for-IPQ40xx.patch
1 From f125e2d4339dda6937865f975470b29c84714c9b Mon Sep 17 00:00:00 2001
2 From: Christian Lamparter <chunkeey@gmail.com>
3 Date: Mon, 6 Jan 2020 14:57:15 +0100
4 Subject: [PATCH] ARM: qcom: Add support for IPQ40xx
5
6 Add support for the Qualcomm IPQ40xx SoC in Kconfig.
7 Also add its appropriate textofs.
8
9 Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
10 Signed-off-by: John Crispin <john@phrozen.org>
11 Tested-by: Robert Marko <robert.marko@sartura.hr>
12 Cc: Luka Perkov <luka.perkov@sartura.hr>
13 Signed-off-by: Arnd Bergmann <arnd@arndb.de>
14 ---
15 arch/arm/Makefile | 1 +
16 arch/arm/mach-qcom/Kconfig | 5 +++++
17 2 files changed, 6 insertions(+)
18
19 --- a/arch/arm/Makefile
20 +++ b/arch/arm/Makefile
21 @@ -152,6 +152,7 @@ textofs-$(CONFIG_PM_H1940) := 0x001
22 ifeq ($(CONFIG_ARCH_SA1100),y)
23 textofs-$(CONFIG_SA1111) := 0x00208000
24 endif
25 +textofs-$(CONFIG_ARCH_IPQ40XX) := 0x00208000
26 textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000
27 textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000
28 textofs-$(CONFIG_ARCH_MESON) := 0x00208000
29 --- a/arch/arm/mach-qcom/Kconfig
30 +++ b/arch/arm/mach-qcom/Kconfig
31 @@ -12,6 +12,11 @@ menuconfig ARCH_QCOM
32
33 if ARCH_QCOM
34
35 +config ARCH_IPQ40XX
36 + bool "Enable support for IPQ40XX"
37 + select CLKSRC_QCOM
38 + select HAVE_ARM_ARCH_TIMER
39 +
40 config ARCH_MSM8X60
41 bool "Enable support for MSM8X60"
42 select CLKSRC_QCOM