aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/cns3xxx
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2011-07-07 10:24:37 +0000
committerImre Kaloz <kaloz@openwrt.org>2011-07-07 10:24:37 +0000
commit602cfe283653364cb26bffdf963a3e9b56bd81b6 (patch)
treed8e0c368b9d225c2ebccfb0cad0b21e0cc89ca21 /target/linux/cns3xxx
parent1d626aaae55e3dd0330566907c2db912198ecd54 (diff)
downloadupstream-602cfe283653364cb26bffdf963a3e9b56bd81b6.tar.gz
upstream-602cfe283653364cb26bffdf963a3e9b56bd81b6.tar.bz2
upstream-602cfe283653364cb26bffdf963a3e9b56bd81b6.zip
[cns3xxx]: select the right cpu
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27517 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/cns3xxx')
-rw-r--r--target/linux/cns3xxx/patches-3.0/001-cns3xxx_v6k_cpu.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/cns3xxx/patches-3.0/001-cns3xxx_v6k_cpu.patch b/target/linux/cns3xxx/patches-3.0/001-cns3xxx_v6k_cpu.patch
new file mode 100644
index 0000000000..6ba8a27e53
--- /dev/null
+++ b/target/linux/cns3xxx/patches-3.0/001-cns3xxx_v6k_cpu.patch
@@ -0,0 +1,28 @@
+From 2f22c9d80acceb853f94ca90989655d88e8bb964 Mon Sep 17 00:00:00 2001
+From: Imre Kaloz <kaloz@openwrt.org>
+Date: Thu, 7 Jul 2011 11:39:37 +0200
+Subject: [PATCH] ARM: make CNS3XXX select CPU_V6K
+
+CNS3XXX is based on MPCore, so select the right CPU option for it.
+
+Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
+---
+ arch/arm/Kconfig | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
+index 9adc278..c2e5f3d 100644
+--- a/arch/arm/Kconfig
++++ b/arch/arm/Kconfig
+@@ -321,7 +321,7 @@ config ARCH_CLPS711X
+
+ config ARCH_CNS3XXX
+ bool "Cavium Networks CNS3XXX family"
+- select CPU_V6
++ select CPU_V6K
+ select GENERIC_CLOCKEVENTS
+ select ARM_GIC
+ select MIGHT_HAVE_PCI
+--
+1.7.1
+