Subject: [@num@/@total@] i.MX27: Adding basic build support
From: Juergen Beisert <j.beisert@pengutronix.de>

This patch adds basic build support for the i.MX27 architecture.

Note: This patch is not finished yet.

NOT FOR MAINLINE YET.

Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>

---

 arch/arm/mach-mx27/Makefile        |   12 ++++++++++++
 b/arch/arm/mach-mx27/Kconfig       |   36 ++++++++++++++++++++++++++++++++++++
 b/arch/arm/mach-mx27/Makefile.boot |    3 +++
 3 files changed, 51 insertions(+)

Index: arch/arm/mach-mx27/Kconfig
===================================================================
--- /dev/null
+++ b/arch/arm/mach-mx27/Kconfig
@@ -0,0 +1,36 @@
+menu "MX27 Options"
+	depends on ARCH_MX27
+
+config ISP1504_MXC
+	tristate "ISP1504 transceiver support"
+	select ISP1504_MXC_OTG if USB_GADGET && USB_EHCI_HCD && USB_OTG
+	help
+	  Support for the ISP1504 USB transceiver on MXC platforms.
+
+config ISP1504_MXC_OTG
+	tristate
+	help
+	  Support for USB OTG using the ISP1504 transceiver on MXC platforms.
+
+config ISP1301_MXC
+	bool
+	select I2C_MXC
+
+menu "Device options"
+
+config I2C_MXC_SELECT1
+	bool "Enable I2C1 module"
+	default y
+	depends on I2C_MXC
+	help
+	  Enable MX31 I2C1 module.
+
+config I2C_MXC_SELECT2
+	bool "Enable I2C2 module"
+	default n
+	depends on I2C_MXC
+	help
+	  Enable MX31 I2C2 module.
+
+endmenu
+endmenu
Index: linux-2.6.24-rc5/arch/arm/mach-mx27/Makefile
===================================================================
--- /dev/null
+++ b/arch/arm/mach-mx27/Makefile
@@ -0,0 +1,12 @@
+#
+# Makefile for the linux kernel.
+#
+
+# Object file lists.
+
+obj-y		:= mm.o time.o dma.o gpio_mux.o clock.o devices.o serial.o system.o cpu.o
+# FIXME rsc: usb.o
+
+# power management
+obj-$(CONFIG_PM) 		+= pm.o mxc_pm.o
+obj-$(CONFIG_DPM)		+= dpm.o
Index: arch/arm/mach-mx27/Makefile.boot
===================================================================
--- /dev/null
+++ b/arch/arm/mach-mx27/Makefile.boot
@@ -0,0 +1,3 @@
+   zreladdr-y	:= 0xA0008000
+params_phys-y	:= 0xA0000100
+initrd_phys-y	:= 0xA0800000
