apm821xx: add support for the Western Digital MyBook Live Series
[oweals/openwrt.git] / target / linux / apm821xx / patches-4.4 / 201-add-amcc-apollo3g-support.patch
1 --- a/arch/powerpc/platforms/44x/Kconfig        2016-05-21 23:02:29.933525903 +0200
2 +++ b/arch/powerpc/platforms/44x/Kconfig        2016-05-21 23:06:50.843908233 +0200
3 @@ -143,6 +143,17 @@ config CANYONLANDS
4         help
5           This option enables support for the AMCC PPC460EX evaluation board.
6  
7 +config APOLLO3G
8 +       bool "Apollo3G"
9 +       depends on 44x
10 +       default n
11 +       select PPC44x_SIMPLE
12 +       select APM821xx
13 +       select IBM_EMAC_RGMII
14 +       select 460EX
15 +       help
16 +         This option enables support for the AMCC Apollo 3G board.
17 +
18  config GLACIER
19         bool "Glacier"
20         depends on 44x
21 --- a/arch/powerpc/platforms/44x/ppc44x_simple.c        2016-05-21 23:02:29.933525903 +0200
22 +++ b/arch/powerpc/platforms/44x/ppc44x_simple.c        2016-05-21 23:06:01.130502053 +0200
23 @@ -50,6 +50,7 @@ machine_device_initcall(ppc44x_simple, p
24   * board.c file for it rather than adding it to this list.
25   */
26  static char *board[] __initdata = {
27 +       "amcc,apollo3g",
28         "amcc,arches",
29         "amcc,bamboo",
30         "apm,bluestone",