1 --- a/arch/mips/ar7/Platform
2 +++ b/arch/mips/ar7/Platform
5 platform-$(CONFIG_AR7) += ar7/
6 cflags-$(CONFIG_AR7) += -I$(srctree)/arch/mips/include/asm/mach-ar7
7 -load-$(CONFIG_AR7) += 0xffffffff94100000
8 +load-$(CONFIG_AR7_TI) += 0xffffffff94100000
13 +load-$(CONFIG_AR7_AC49X) += 0xffffffff945ca000
14 --- a/arch/mips/ar7/setup.c
15 +++ b/arch/mips/ar7/setup.c
16 @@ -69,6 +69,8 @@ const char *get_system_type(void)
17 return "TI AR7 (TNETV1056)";
19 return "TI AR7 (TNETV1060)";
21 + return "AudioCodes AC49x";
24 return "TI AR7 (unknown)";
25 --- a/arch/mips/include/asm/mach-ar7/ar7.h
26 +++ b/arch/mips/include/asm/mach-ar7/ar7.h
28 #define TITAN_CHIP_1055 0x0e
29 #define TITAN_CHIP_1056 0x0d
30 #define TITAN_CHIP_1060 0x07
31 +#define TITAN_CHIP_AC 0x02
34 #define AR7_IRQ_UART0 15
35 --- a/arch/mips/Kconfig
36 +++ b/arch/mips/Kconfig
37 @@ -72,7 +72,7 @@ config AR7
40 Support for the Texas Instruments AR7 System-on-a-Chip
41 - family: TNETD7100, 7200 and 7300.
42 + family: TI TNETD7100, 7200, 7300 and AudioCodes AC49x.
45 bool "Atheros AR71XX/AR724X/AR913X based boards"
46 @@ -814,6 +814,7 @@ config NLM_XLP_BOARD
49 source "arch/mips/alchemy/Kconfig"
50 +source "arch/mips/ar7/Kconfig"
51 source "arch/mips/ath79/Kconfig"
52 source "arch/mips/bcm47xx/Kconfig"
53 source "arch/mips/bcm63xx/Kconfig"
55 +++ b/arch/mips/ar7/Kconfig
66 + prompt "AR7 SoC family selection"
70 + Select AR7 MIPS SoC implementation.
73 + bool "Texas Instruments AR7"
76 + config AR7_TYPE_AC49X
77 + bool "AudioCodes AC49X"