aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7/patches-3.6
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-11-27 18:42:39 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-11-27 18:42:39 +0000
commit23256b3a3c1f7fef29356d42f1d3801a8dab666e (patch)
treefa31e280c6fa465ea10f8c6f84c1a9db11aec424 /target/linux/ar7/patches-3.6
parentb0df2719d6f4f055b835be1ae85fd33592b7b534 (diff)
downloadupstream-23256b3a3c1f7fef29356d42f1d3801a8dab666e.tar.gz
upstream-23256b3a3c1f7fef29356d42f1d3801a8dab666e.tar.bz2
upstream-23256b3a3c1f7fef29356d42f1d3801a8dab666e.zip
[ar7] add AudioCodes AC495 SoC
Found in the AudioCodes Tulip AC494 ATA. Signed-off-by: Daniel Golle <dgolle@allnet.de> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34395 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7/patches-3.6')
-rw-r--r--target/linux/ar7/patches-3.6/300-add-ac49x-platform.patch13
1 files changed, 8 insertions, 5 deletions
diff --git a/target/linux/ar7/patches-3.6/300-add-ac49x-platform.patch b/target/linux/ar7/patches-3.6/300-add-ac49x-platform.patch
index 39f7330729..7218584039 100644
--- a/target/linux/ar7/patches-3.6/300-add-ac49x-platform.patch
+++ b/target/linux/ar7/patches-3.6/300-add-ac49x-platform.patch
@@ -13,22 +13,25 @@
+load-$(CONFIG_AR7_AC49X) += 0xffffffff945ca000
--- a/arch/mips/ar7/setup.c
+++ b/arch/mips/ar7/setup.c
-@@ -69,6 +69,8 @@ const char *get_system_type(void)
+@@ -69,6 +69,10 @@ const char *get_system_type(void)
return "TI AR7 (TNETV1056)";
case TITAN_CHIP_1060:
return "TI AR7 (TNETV1060)";
-+ case TITAN_CHIP_AC:
-+ return "AudioCodes AC49x";
++ case TITAN_CHIP_AC495:
++ return "AudioCodes AC495";
++ case TITAN_CHIP_AC496:
++ return "AudioCodes AC496";
}
default:
return "TI AR7 (unknown)";
--- a/arch/mips/include/asm/mach-ar7/ar7.h
+++ b/arch/mips/include/asm/mach-ar7/ar7.h
-@@ -92,6 +92,7 @@
+@@ -92,6 +92,8 @@
#define TITAN_CHIP_1055 0x0e
#define TITAN_CHIP_1056 0x0d
#define TITAN_CHIP_1060 0x07
-+#define TITAN_CHIP_AC 0x02
++#define TITAN_CHIP_AC495 0x00
++#define TITAN_CHIP_AC496 0x02
/* Interrupts */
#define AR7_IRQ_UART0 15