ipq806x: enable QCE hardware crypto inside the kernel
[oweals/openwrt.git] / target / linux / ipq806x / patches-4.9 / 307-ARM-qcom-Add-IPQ4019-SoC-support.patch
1 From e7748d641ae37081e2034869491f1629461ae13c Mon Sep 17 00:00:00 2001
2 From: Christian Lamparter <chunkeey@gmail.com>
3 Date: Sat, 19 Nov 2016 00:58:18 +0100
4 Subject: [PATCH] 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 ---
10  arch/arm/Makefile          | 1 +
11  arch/arm/mach-qcom/Kconfig | 5 +++++
12  2 files changed, 6 insertions(+)
13
14 --- a/arch/arm/Makefile
15 +++ b/arch/arm/Makefile
16 @@ -147,6 +147,7 @@ textofs-$(CONFIG_SA1111) := 0x00208000
17  endif
18  textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000
19  textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000
20 +textofs-$(CONFIG_ARCH_IPQ40XX) := 0x00208000
21  textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000
22  
23  # Machine directory name.  This list is sorted alphanumerically
24 --- a/arch/arm/mach-qcom/Kconfig
25 +++ b/arch/arm/mach-qcom/Kconfig
26 @@ -28,4 +28,9 @@ config ARCH_MDM9615
27         bool "Enable support for MDM9615"
28         select CLKSRC_QCOM
29  
30 +config ARCH_IPQ40XX
31 +       bool "Enable support for IPQ40XX"
32 +       select CLKSRC_QCOM
33 +       select HAVE_ARM_ARCH_TIMER
34 +
35  endif