mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
43 lines
1.3 KiB
Diff
43 lines
1.3 KiB
Diff
|
From f125e2d4339dda6937865f975470b29c84714c9b Mon Sep 17 00:00:00 2001
|
||
|
From: Christian Lamparter <chunkeey@gmail.com>
|
||
|
Date: Mon, 6 Jan 2020 14:57:15 +0100
|
||
|
Subject: [PATCH] ARM: qcom: Add support for IPQ40xx
|
||
|
|
||
|
Add support for the Qualcomm IPQ40xx SoC in Kconfig.
|
||
|
Also add its appropriate textofs.
|
||
|
|
||
|
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
|
||
|
Signed-off-by: John Crispin <john@phrozen.org>
|
||
|
Tested-by: Robert Marko <robert.marko@sartura.hr>
|
||
|
Cc: Luka Perkov <luka.perkov@sartura.hr>
|
||
|
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
|
||
|
---
|
||
|
arch/arm/Makefile | 1 +
|
||
|
arch/arm/mach-qcom/Kconfig | 5 +++++
|
||
|
2 files changed, 6 insertions(+)
|
||
|
|
||
|
--- a/arch/arm/Makefile
|
||
|
+++ b/arch/arm/Makefile
|
||
|
@@ -152,6 +152,7 @@ textofs-$(CONFIG_PM_H1940) := 0x001
|
||
|
ifeq ($(CONFIG_ARCH_SA1100),y)
|
||
|
textofs-$(CONFIG_SA1111) := 0x00208000
|
||
|
endif
|
||
|
+textofs-$(CONFIG_ARCH_IPQ40XX) := 0x00208000
|
||
|
textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000
|
||
|
textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000
|
||
|
textofs-$(CONFIG_ARCH_MESON) := 0x00208000
|
||
|
--- a/arch/arm/mach-qcom/Kconfig
|
||
|
+++ b/arch/arm/mach-qcom/Kconfig
|
||
|
@@ -12,6 +12,11 @@ menuconfig ARCH_QCOM
|
||
|
|
||
|
if ARCH_QCOM
|
||
|
|
||
|
+config ARCH_IPQ40XX
|
||
|
+ bool "Enable support for IPQ40XX"
|
||
|
+ select CLKSRC_QCOM
|
||
|
+ select HAVE_ARM_ARCH_TIMER
|
||
|
+
|
||
|
config ARCH_MSM8X60
|
||
|
bool "Enable support for MSM8X60"
|
||
|
select CLKSRC_QCOM
|