Skip to contentSkip to conversation

Support for three IXP425 based boards

PATCH New Richard Cochran 2 participants 6 messages Jun 2, 2010 – Jun 14, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover Support for three IXP425 based boards

This patch series adds support for three IXP425 based boards from OMICRON electronics GmbH. The code has been adapted from the IXDP425 and the NSLU boards.

Richard Cochran (3):
ixp4xx: support the OMICRON DEVIXP board
ixp4xx: support the OMICRON MICCPT board
ixp4xx: support the OMICRON MIC256 board

 arch/arm/mach-ixp4xx/Kconfig                   |   22 +++
 arch/arm/mach-ixp4xx/Makefile                  |    4 +
 arch/arm/mach-ixp4xx/devixp-setup.c            |  225 ++++++++++++++++++++++++
 arch/arm/mach-ixp4xx/include/mach/uncompress.h |    3 +-
 arch/arm/mach-ixp4xx/mic256-setup.c            |  220 +++++++++++++++++++++++
 arch/arm/mach-ixp4xx/miccpt-pci.c              |   78 ++++++++
 arch/arm/mach-ixp4xx/miccpt-setup.c            |  221 +++++++++++++++++++++++
 7 files changed, 772 insertions(+), 1 deletions(-)
 create mode 100644 arch/arm/mach-ixp4xx/devixp-setup.c
 create mode 100644 arch/arm/mach-ixp4xx/mic256-setup.c
 create mode 100644 arch/arm/mach-ixp4xx/miccpt-pci.c
 create mode 100644 arch/arm/mach-ixp4xx/miccpt-setup.c
#1 lore raw

PATCH 1/3 ixp4xx: support the OMICRON DEVIXP board

This patch adds board support for the DEVIXP, which is an IXP425 based development board by OMICRON electronics, GmbH.

---
 arch/arm/mach-ixp4xx/Kconfig                   |    7 +
 arch/arm/mach-ixp4xx/Makefile                  |    1 +
 arch/arm/mach-ixp4xx/devixp-setup.c            |  225 ++++++++++++++++++++++++
 arch/arm/mach-ixp4xx/include/mach/uncompress.h |    3 +-
 4 files changed, 235 insertions(+), 1 deletions(-)
 create mode 100644 arch/arm/mach-ixp4xx/devixp-setup.c
arch/arm/mach-ixp4xx/Kconfig +7 -0
index 9e5070d..18f3609 100644
@@ -8,6 +8,13 @@ menu "Intel IXP4xx Implementation Options"
 
 comment "IXP4xx Platforms"
 
+config MACH_DEVIXP
+	bool "Omicron DEVIXP"
+	help
+	  Say 'Y' here if you want your kernel to support the DEVIXP
+	  board from OMICRON electronics GmbH. For more information on
+	  this platform, see http://www.omicron.at
+
 config MACH_NSLU2
 	bool
 	prompt "Linksys NSLU2"
arch/arm/mach-ixp4xx/Makefile +1 -0
index 47d1f60..44eb184 100644
@@ -20,6 +20,7 @@ obj-pci-$(CONFIG_MACH_FSG)		+= fsg-pci.o
 obj-y	+= common.o
 
 obj-$(CONFIG_ARCH_IXDP4XX)	+= ixdp425-setup.o
+obj-$(CONFIG_MACH_DEVIXP)	+= devixp-setup.o
 obj-$(CONFIG_MACH_AVILA)	+= avila-setup.o
 obj-$(CONFIG_MACH_IXDPG425)	+= coyote-setup.o
 obj-$(CONFIG_ARCH_ADI_COYOTE)	+= coyote-setup.o
arch/arm/mach-ixp4xx/devixp-setup.c new file +225 -0

225 lines not on this page · raw message

arch/arm/mach-ixp4xx/include/mach/uncompress.h +2 -1
index 2db0078..e06eb05 100644
@@ -41,7 +41,8 @@ static __inline__ void __arch_decomp_setup(unsigned long arch_id)
 	 * Some boards are using UART2 as console
 	 */
 	if (machine_is_adi_coyote() || machine_is_gtwx5715() ||
-			 machine_is_gateway7001() || machine_is_wg302v2())
+	    machine_is_gateway7001() || machine_is_wg302v2() ||
+	    machine_is_devixp())
 		uart_base = (volatile u32*) IXP4XX_UART2_BASE_PHYS;
 	else
 		uart_base = (volatile u32*) IXP4XX_UART1_BASE_PHYS;
Signature · 1 line
1.6.3.3
#2 lore raw

PATCH 2/3 ixp4xx: support the OMICRON MICCPT board

In reply to Richard Cochran

This patch adds board support for the MICCPT, which is an IXP425 based board with PCI support, by OMICRON electronics, GmbH.

---
 arch/arm/mach-ixp4xx/Kconfig                   |    8 +
 arch/arm/mach-ixp4xx/Makefile                  |    2 +
 arch/arm/mach-ixp4xx/include/mach/uncompress.h |    2 +-
 arch/arm/mach-ixp4xx/miccpt-pci.c              |   78 +++++++++
 arch/arm/mach-ixp4xx/miccpt-setup.c            |  221 ++++++++++++++++++++++++
 5 files changed, 310 insertions(+), 1 deletions(-)
 create mode 100644 arch/arm/mach-ixp4xx/miccpt-pci.c
 create mode 100644 arch/arm/mach-ixp4xx/miccpt-setup.c
arch/arm/mach-ixp4xx/Kconfig +8 -0
index 18f3609..97cb601 100644
@@ -15,6 +15,14 @@ config MACH_DEVIXP
 	  board from OMICRON electronics GmbH. For more information on
 	  this platform, see http://www.omicron.at
 
+config MACH_MICCPT
+	bool "Omicron MICCPT"
+	select PCI
+	help
+	  Say 'Y' here if you want your kernel to support the MICCPT
+	  board from OMICRON electronics GmbH. For more information on
+	  this platform, see http://www.omicron.at
+
 config MACH_NSLU2
 	bool
 	prompt "Linksys NSLU2"
arch/arm/mach-ixp4xx/Makefile +2 -0
index 44eb184..8a7edc8 100644
@@ -11,6 +11,7 @@ obj-pci-$(CONFIG_MACH_IXDPG425)		+= ixdpg425-pci.o
 obj-pci-$(CONFIG_ARCH_ADI_COYOTE)	+= coyote-pci.o
 obj-pci-$(CONFIG_MACH_GTWX5715)		+= gtwx5715-pci.o
 obj-pci-$(CONFIG_MACH_NSLU2)		+= nslu2-pci.o
+obj-pci-$(CONFIG_MACH_MICCPT)		+= miccpt-pci.o
 obj-pci-$(CONFIG_MACH_NAS100D)		+= nas100d-pci.o
 obj-pci-$(CONFIG_MACH_DSMG600)		+= dsmg600-pci.o
 obj-pci-$(CONFIG_MACH_GATEWAY7001)	+= gateway7001-pci.o
@@ -21,6 +22,7 @@ obj-y	+= common.o
 
 obj-$(CONFIG_ARCH_IXDP4XX)	+= ixdp425-setup.o
 obj-$(CONFIG_MACH_DEVIXP)	+= devixp-setup.o
+obj-$(CONFIG_MACH_MICCPT)	+= miccpt-setup.o
 obj-$(CONFIG_MACH_AVILA)	+= avila-setup.o
 obj-$(CONFIG_MACH_IXDPG425)	+= coyote-setup.o
 obj-$(CONFIG_ARCH_ADI_COYOTE)	+= coyote-setup.o
arch/arm/mach-ixp4xx/include/mach/uncompress.h +1 -1
index e06eb05..1fa3c48 100644
@@ -42,7 +42,7 @@ static __inline__ void __arch_decomp_setup(unsigned long arch_id)
 	 */
 	if (machine_is_adi_coyote() || machine_is_gtwx5715() ||
 	    machine_is_gateway7001() || machine_is_wg302v2() ||
-	    machine_is_devixp())
+	    machine_is_devixp() || machine_is_miccpt())
 		uart_base = (volatile u32*) IXP4XX_UART2_BASE_PHYS;
 	else
 		uart_base = (volatile u32*) IXP4XX_UART1_BASE_PHYS;
arch/arm/mach-ixp4xx/miccpt-pci.c new file +78 -0

78 lines not on this page · raw message

arch/arm/mach-ixp4xx/miccpt-setup.c new file +221 -0

221 lines not on this page · raw message

Signature · 1 line
1.6.3.3
#3 lore raw

PATCH 3/3 ixp4xx: support the OMICRON MIC256 board

In reply to Richard Cochran

This patch adds board support for the MIC256, which is an IXP425 based board by OMICRON electronics, GmbH.

---
 arch/arm/mach-ixp4xx/Kconfig                   |    7 +
 arch/arm/mach-ixp4xx/Makefile                  |    1 +
 arch/arm/mach-ixp4xx/include/mach/uncompress.h |    2 +-
 arch/arm/mach-ixp4xx/mic256-setup.c            |  220 ++++++++++++++++++++++++
 4 files changed, 229 insertions(+), 1 deletions(-)
 create mode 100644 arch/arm/mach-ixp4xx/mic256-setup.c
arch/arm/mach-ixp4xx/Kconfig +7 -0
index 97cb601..a7312d2 100644
@@ -23,6 +23,13 @@ config MACH_MICCPT
 	  board from OMICRON electronics GmbH. For more information on
 	  this platform, see http://www.omicron.at
 
+config MACH_MIC256
+	bool "Omicron MIC256"
+	help
+	  Say 'Y' here if you want your kernel to support the MIC256
+	  board from OMICRON electronics GmbH. For more information on
+	  this platform, see http://www.omicron.at
+
 config MACH_NSLU2
 	bool
 	prompt "Linksys NSLU2"
arch/arm/mach-ixp4xx/Makefile +1 -0
index 8a7edc8..14870cd 100644
@@ -23,6 +23,7 @@ obj-y	+= common.o
 obj-$(CONFIG_ARCH_IXDP4XX)	+= ixdp425-setup.o
 obj-$(CONFIG_MACH_DEVIXP)	+= devixp-setup.o
 obj-$(CONFIG_MACH_MICCPT)	+= miccpt-setup.o
+obj-$(CONFIG_MACH_MIC256)	+= mic256-setup.o
 obj-$(CONFIG_MACH_AVILA)	+= avila-setup.o
 obj-$(CONFIG_MACH_IXDPG425)	+= coyote-setup.o
 obj-$(CONFIG_ARCH_ADI_COYOTE)	+= coyote-setup.o
arch/arm/mach-ixp4xx/include/mach/uncompress.h +1 -1
index 1fa3c48..384a361 100644
@@ -42,7 +42,7 @@ static __inline__ void __arch_decomp_setup(unsigned long arch_id)
 	 */
 	if (machine_is_adi_coyote() || machine_is_gtwx5715() ||
 	    machine_is_gateway7001() || machine_is_wg302v2() ||
-	    machine_is_devixp() || machine_is_miccpt())
+	    machine_is_devixp() || machine_is_miccpt() || machine_is_mic256())
 		uart_base = (volatile u32*) IXP4XX_UART2_BASE_PHYS;
 	else
 		uart_base = (volatile u32*) IXP4XX_UART1_BASE_PHYS;
arch/arm/mach-ixp4xx/mic256-setup.c new file +220 -0

220 lines not on this page · raw message

Signature · 1 line
1.6.3.3
#4 lore raw

cover Support for three IXP425 based boards

In reply to Richard Cochran

Hi,

Quoted 3 lines · Richard Cochran

This patch series adds support for three IXP425 based boards from OMICRON electronics GmbH. The code has been adapted from the IXDP425 and the NSLU boards.

Sorry I'm unable to look at the patches at this time. Will do. The other thing is Linus apparently hasn't pulled the previous portion. It has to wait for another week+, too.

Signature · 1 line
Krzysztof Halasa
#5 lore raw

cover Support for three IXP425 based boards

Quoted 3 lines · Krzysztof Halasa

Sorry I'm unable to look at the patches at this time. Will do. The other thing is Linus apparently hasn't pulled the previous portion. It has to wait for another week+, too.

There is no rush. Also, after following the discussion about all the "arch/arm/mach" noise and churning, I think it might be better to combine these there boards into one file. They are quite similar to each other. Maybe I will resubmit before too long...

Thanks in advance for your review,

Richard