cns21xx: switch to 3.10
[openwrt.git] / target / linux / cns21xx / patches-3.8 / 003-arm-introduce-fa-platform.patch
1 --- a/arch/arm/Kconfig
2 +++ b/arch/arm/Kconfig
3 @@ -1133,10 +1133,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 @@ -207,6 +207,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)    += s3c24xx samsung
29 @@ -316,7 +317,7 @@ define archhelp
30    echo  '  Image         - Uncompressed kernel image (arch/$(ARCH)/boot/Image)'
31    echo  '* xipImage      - XIP kernel image, if configured (arch/$(ARCH)/boot/xipImage)'
32    echo  '  uImage        - U-Boot wrapped zImage'
33 -  echo  '  bootpImage    - Combined zImage and initial RAM disk' 
34 +  echo  '  bootpImage    - Combined zImage and initial RAM disk'
35    echo  '                  (supply initrd image via make variable INITRD=<path>)'
36    echo  '* dtbs          - Build device tree blobs for enabled boards'
37    echo  '  install       - Install uncompressed kernel'
38 --- /dev/null
39 +++ b/arch/arm/plat-fa/Makefile
40 @@ -0,0 +1,10 @@
41 +#
42 +# Makefile for the linux kernel.
43 +#
44 +
45 +obj-y :=
46 +
47 +obj-m :=
48 +obj-n :=
49 +obj-  :=
50 +
51 --- /dev/null
52 +++ b/arch/arm/plat-fa/Kconfig
53 @@ -0,0 +1,3 @@
54 +if PLAT_FA
55 +
56 +endif