mcs814x: add support for 3.18
[openwrt/svn-archive/archive.git] / target / linux / mcs814x / patches-3.18 / 001-platform.patch
1 --- a/arch/arm/Kconfig
2 +++ b/arch/arm/Kconfig
3 @@ -267,7 +267,8 @@ config PHYS_OFFSET
4 ARCH_INTEGRATOR || \
5 ARCH_IOP13XX || \
6 ARCH_KS8695 || \
7 - (ARCH_REALVIEW && !REALVIEW_HIGH_PHYS_OFFSET)
8 + (ARCH_REALVIEW && !REALVIEW_HIGH_PHYS_OFFSET) || \
9 + ARCH_MCS814X
10 default 0x10000000 if ARCH_OMAP1 || ARCH_RPC
11 default 0x20000000 if ARCH_S5PV210
12 default 0x70000000 if REALVIEW_HIGH_PHYS_OFFSET
13 @@ -786,6 +787,21 @@ config ARCH_OMAP1
14 help
15 Support for older TI OMAP1 (omap7xx, omap15xx or omap16xx)
16
17 +config ARCH_MCS814X
18 + bool "Moschip MCS814x"
19 + select FIQ
20 + select GENERIC_IRQ_CHIP
21 + select GENERIC_GPIO
22 + select ARCH_REQUIRE_GPIOLIB
23 + select CLKDEV_LOOKUP
24 + select ARCH_USES_GETTIMEOFFSET
25 + select USB_ARCH_HAS_OHCI
26 + select USB_ARCH_HAS_EHCI
27 + select MULTI_IRQ_HANDLER
28 + help
29 + Support for Moschip MCS814x SoCs (MCS8140).
30 +
31 +
32 endchoice
33
34 menu "Multiple platform selection"
35 @@ -927,6 +944,8 @@ source "arch/arm/mach-picoxcell/Kconfig"
36 source "arch/arm/mach-pxa/Kconfig"
37 source "arch/arm/plat-pxa/Kconfig"
38
39 +source "arch/arm/mach-mcs814x/Kconfig"
40 +
41 source "arch/arm/mach-mmp/Kconfig"
42
43 source "arch/arm/mach-qcom/Kconfig"
44 --- a/arch/arm/Makefile
45 +++ b/arch/arm/Makefile
46 @@ -172,6 +172,7 @@ machine-$(CONFIG_ARCH_IXP4XX) += ixp4xx
47 machine-$(CONFIG_ARCH_KEYSTONE) += keystone
48 machine-$(CONFIG_ARCH_KS8695) += ks8695
49 machine-$(CONFIG_ARCH_LPC32XX) += lpc32xx
50 +machine-$(CONFIG_ARCH_MCS814X) += mcs814x
51 machine-$(CONFIG_ARCH_MESON) += meson
52 machine-$(CONFIG_ARCH_MMP) += mmp
53 machine-$(CONFIG_ARCH_MOXART) += moxart
54 --- a/arch/arm/boot/dts/Makefile
55 +++ b/arch/arm/boot/dts/Makefile
56 @@ -163,6 +163,8 @@ dtb-$(CONFIG_MACH_KIRKWOOD) += kirkwood-
57 kirkwood-ts419-6282.dtb
58 dtb-$(CONFIG_ARCH_LPC32XX) += ea3250.dtb phy3250.dtb
59 dtb-$(CONFIG_ARCH_MARCO) += marco-evb.dtb
60 +dtb-$(CONFIG_ARCH_MCS814X) += dlan-usb-extender.dtb \
61 + rbt-832.dtb
62 dtb-$(CONFIG_MACH_MESON6) += meson6-atv1200.dtb
63 dtb-$(CONFIG_ARCH_MOXART) += moxart-uc7112lx.dtb
64 dtb-$(CONFIG_ARCH_MXC) += \