apm821xx: add linux 4.9 apm821xx patches
[openwrt/staging/yousong.git] / target / linux / apm821xx / patches-4.9 / 202-add-netgear-wndr4700-support.patch
1 --- a/arch/powerpc/platforms/44x/Makefile
2 +++ b/arch/powerpc/platforms/44x/Makefile
3 @@ -3,6 +3,7 @@ ifneq ($(CONFIG_PPC4xx_CPM),y)
4 obj-$(CONFIG_44x) += idle.o
5 endif
6 obj-$(CONFIG_PPC44x_SIMPLE) += ppc44x_simple.o
7 +obj-$(CONFIG_WNDR4700) += wndr4700.o
8 obj-$(CONFIG_EBONY) += ebony.o
9 obj-$(CONFIG_SAM440EP) += sam440ep.o
10 obj-$(CONFIG_WARP) += warp.o
11 --- a/arch/powerpc/platforms/44x/Kconfig
12 +++ b/arch/powerpc/platforms/44x/Kconfig
13 @@ -260,6 +260,19 @@ config ICON
14 help
15 This option enables support for the AMCC PPC440SPe evaluation board.
16
17 +config WNDR4700
18 + bool "WNDR4700"
19 + depends on 44x
20 + default n
21 + select APM821xx
22 + select PCI_MSI
23 + select PPC4xx_MSI
24 + select PPC4xx_PCI_EXPRESS
25 + select IBM_EMAC_RGMII
26 + select 460EX
27 + help
28 + This option enables support for the Netgear WNDR4700/WNDR4720 board.
29 +
30 config XILINX_VIRTEX440_GENERIC_BOARD
31 bool "Generic Xilinx Virtex 5 FXT board support"
32 depends on 44x