1 --- a/arch/mips/Makefile
2 +++ b/arch/mips/Makefile
3 @@ -577,6 +577,13 @@ core-$(CONFIG_TOSHIBA_RBTX4927) += arch/
5 core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/txx9/rbtx4938/
10 +core-$(CONFIG_ATHEROS_AR71XX) += arch/mips/ar71xx/
11 +cflags-$(CONFIG_ATHEROS_AR71XX) += -Iinclude/asm-mips/mach-ar71xx
12 +load-$(CONFIG_ATHEROS_AR71XX) += 0xffffffff80060000
14 # temporary until string.h is fixed
15 cflags-y += -ffreestanding
17 --- a/arch/mips/Kconfig
18 +++ b/arch/mips/Kconfig
19 @@ -22,6 +22,23 @@ choice
21 bool "Alchemy processor based machines"
23 +config ATHEROS_AR71XX
24 + bool "Atheros AR71xx based boards"
27 + select DMA_NONCOHERENT
30 + select ARCH_REQUIRE_GPIOLIB
31 + select SYS_HAS_CPU_MIPS32_R1
32 + select SYS_HAS_CPU_MIPS32_R2
33 + select SYS_SUPPORTS_32BIT_KERNEL
34 + select SYS_SUPPORTS_BIG_ENDIAN
35 + select SYS_HAS_EARLY_PRINTK
38 + Support for Atheros AR71xx based boards.
41 bool "Basler eXcite smart camera"
43 @@ -598,6 +615,7 @@ config WR_PPMC
47 +source "arch/mips/ar71xx/Kconfig"
48 source "arch/mips/au1000/Kconfig"
49 source "arch/mips/basler/excite/Kconfig"
50 source "arch/mips/jazz/Kconfig"