db0b080cb3f20d9c9553e60d1e7bb03b09321d20
[openwrt.git] / target / linux / cns21xx / patches-3.10 / 003-arm-introduce-fa-platform.patch
1 --- a/arch/arm/Kconfig
2 +++ b/arch/arm/Kconfig
3 @@ -1028,10 +1028,15 @@ source "arch/arm/mach-w90x900/Kconfig"
4  
5  source "arch/arm/mach-zynq/Kconfig"
6  
7 +source "arch/arm/plat-fa/Kconfig"
8 +
9  # Definitions to make life easier
10  config ARCH_ACORN
11         bool
12  
13 +config PLAT_FA
14 +       bool
15 +
16  config PLAT_IOP
17         bool
18         select GENERIC_CLOCKEVENTS
19 --- a/arch/arm/Makefile
20 +++ b/arch/arm/Makefile
21 @@ -205,6 +205,7 @@ machine-$(CONFIG_ARCH_SUNXI)                += sunxi
22  plat-$(CONFIG_ARCH_OMAP)       += omap
23  plat-$(CONFIG_ARCH_S3C64XX)    += samsung
24  plat-$(CONFIG_PLAT_IOP)                += iop
25 +plat-$(CONFIG_PLAT_FA)         += fa
26  plat-$(CONFIG_PLAT_ORION)      += orion
27  plat-$(CONFIG_PLAT_PXA)                += pxa
28  plat-$(CONFIG_PLAT_S3C24XX)    += samsung
29 --- /dev/null
30 +++ b/arch/arm/plat-fa/Makefile
31 @@ -0,0 +1,10 @@
32 +#
33 +# Makefile for the linux kernel.
34 +#
35 +
36 +obj-y :=
37 +
38 +obj-m :=
39 +obj-n :=
40 +obj-  :=
41 +
42 --- /dev/null
43 +++ b/arch/arm/plat-fa/Kconfig
44 @@ -0,0 +1,3 @@
45 +if PLAT_FA
46 +
47 +endif