diff mbox series

[6/6] ARM: qcom: Add IPQ4019 SoC support

Message ID 20180725083750.30607-6-john@phrozen.org (mailing list archive)
State Deferred, archived
Delegated to: Andy Gross
Headers show
Series [1/6] qcom: ipq4019: use v2 of the kpss bringup mechanism | expand

Commit Message

John Crispin July 25, 2018, 8:37 a.m. UTC
From: Christian Lamparter <chunkeey@gmail.com>

Add support for the Qualcomm Atheros IPQ4019 SoC.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: John Crispin <john@phrozen.org>
---
 arch/arm/Makefile          | 1 +
 arch/arm/mach-qcom/Kconfig | 5 +++++
 2 files changed, 6 insertions(+)

Comments

Andy Gross Sept. 13, 2018, 9:42 p.m. UTC | #1
On Wed, Jul 25, 2018 at 10:37:50AM +0200, John Crispin wrote:
> From: Christian Lamparter <chunkeey@gmail.com>
> 
> Add support for the Qualcomm Atheros IPQ4019 SoC.
> 
> Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
> Signed-off-by: John Crispin <john@phrozen.org>
> ---
>  arch/arm/Makefile          | 1 +
>  arch/arm/mach-qcom/Kconfig | 5 +++++
>  2 files changed, 6 insertions(+)
> 
> diff --git a/arch/arm/Makefile b/arch/arm/Makefile
> index fc26c3d7b9b6..80cbd29102f8 100644
> --- a/arch/arm/Makefile
> +++ b/arch/arm/Makefile
> @@ -152,6 +152,7 @@ endif
>  textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000
>  textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000
>  textofs-$(CONFIG_ARCH_MESON) := 0x00208000
> +textofs-$(CONFIG_ARCH_IPQ40XX) := 0x00208000
>  textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000
>  
>  # Machine directory name.  This list is sorted alphanumerically
> diff --git a/arch/arm/mach-qcom/Kconfig b/arch/arm/mach-qcom/Kconfig
> index 46ed10a807f0..9af2f0c557a0 100644
> --- a/arch/arm/mach-qcom/Kconfig
> +++ b/arch/arm/mach-qcom/Kconfig
> @@ -27,4 +27,9 @@ config ARCH_MDM9615
>  	bool "Enable support for MDM9615"
>  	select CLKSRC_QCOM
>  
> +config ARCH_IPQ40XX
> +	bool "Enable support for IPQ40XX"
> +	select CLKSRC_QCOM
> +	select HAVE_ARM_ARCH_TIMER
> +
>  endif

I have to wonder why we didn't have to do this with the IPQ8064.  I vaguely
remember something had to be done about the text offset.

Stephen, can you jog my memory?


Regards,
Andy
diff mbox series

Patch

diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index fc26c3d7b9b6..80cbd29102f8 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -152,6 +152,7 @@  endif
 textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000
 textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000
 textofs-$(CONFIG_ARCH_MESON) := 0x00208000
+textofs-$(CONFIG_ARCH_IPQ40XX) := 0x00208000
 textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000
 
 # Machine directory name.  This list is sorted alphanumerically
diff --git a/arch/arm/mach-qcom/Kconfig b/arch/arm/mach-qcom/Kconfig
index 46ed10a807f0..9af2f0c557a0 100644
--- a/arch/arm/mach-qcom/Kconfig
+++ b/arch/arm/mach-qcom/Kconfig
@@ -27,4 +27,9 @@  config ARCH_MDM9615
 	bool "Enable support for MDM9615"
 	select CLKSRC_QCOM
 
+config ARCH_IPQ40XX
+	bool "Enable support for IPQ40XX"
+	select CLKSRC_QCOM
+	select HAVE_ARM_ARCH_TIMER
+
 endif