linux-mips
[Top] [All Lists]

[PATCH 9/9] wire in AR7 support.

To: linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>, openwrt-devel@lists.openwrt.org
Subject: [PATCH 9/9] wire in AR7 support.
From: Florian Fainelli <florian@openwrt.org>
Date: Mon, 1 Jun 2009 14:03:04 +0200
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:date:subject :mime-version:x-uid:x-length:to:content-type :content-transfer-encoding:content-disposition:message-id; bh=dIYrGSN2JMBbwOtvvhOEw5tyDj3vTKCl2dZyo+AzRNA=; b=RWZhiVVhNBLq5J09NQUWTSl6BSmQO96OiTU/a5FDXORQIj3CI6etzo9ytlWhLjPE5+ W4q+vnHXeJnlXAogQId1ZUrwbmcJ1hvbBacEszZ+sQ4Dz3elA6izJm4qFLn8h8ePbnt7 aXtD1HDuUhY3M69K/f6KmTfUilWhMQQDIbgiY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:date:subject:mime-version:x-uid:x-length:to :content-type:content-transfer-encoding:content-disposition :message-id; b=X809HlBvICkbzA3pJouVnAvSA87aNptpi38f0IDJmIR8X7TJJ64A1gQFD8V44K9WNr 8xAT8BQMiRKEHo7XYhpn354OYdB0CvYNY4ZglsdG7ASHQBJ7n+Jj64bBr6UmFBuA6QSO UGypWbzoCroQm73xn5VXYZn6fpxro1FSQjDug=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
This patch wires in the AR7 support in the MIPS
architecture.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index c4a84a6..0a75275 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -22,6 +22,22 @@ choice
 config MACH_ALCHEMY
        bool "Alchemy processor based machines"
 
+config AR7
+       bool "Texas Instruments AR7"
+       select BOOT_ELF32
+       select DMA_NONCOHERENT
+       select CEVT_R4K
+       select CSRC_R4K
+       select IRQ_CPU
+       select NO_EXCEPT_FILL
+       select SWAP_IO_SPACE
+       select SYS_HAS_CPU_MIPS32_R1
+       select SYS_HAS_EARLY_PRINTK
+       select SYS_SUPPORTS_32BIT_KERNEL
+       select SYS_SUPPORTS_KGDB
+       select SYS_SUPPORTS_LITTLE_ENDIAN
+       select GENERIC_GPIO
+
 config BASLER_EXCITE
        bool "Basler eXcite smart camera"
        select CEVT_R4K
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index c4cae9e..5e7b3b4 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -174,6 +174,13 @@ libs-$(CONFIG_SIBYTE_CFE)  += arch/mips/sibyte/cfe/
 #
 
 #
+# Texas Instruments AR7
+#
+core-$(CONFIG_AR7)             += arch/mips/ar7/
+cflags-$(CONFIG_AR7)           += -I$(srctree)/arch/mips/include/asm/mach-ar7
+load-$(CONFIG_AR7)             += 0xffffffff94100000
+
+#
 # Acer PICA 61, Mips Magnum 4000 and Olivetti M700.
 #
 core-$(CONFIG_MACH_JAZZ)       += arch/mips/jazz/

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH 9/9] wire in AR7 support., Florian Fainelli <=