OSDN Git Service

apm821xx: add support for kernel 5.15 for testing
[immortalwrt/immortalwrt.git] / target / linux / apm821xx / patches-5.15 / 201-add-amcc-apollo3g-support.patch
1 --- a/arch/powerpc/platforms/44x/Kconfig
2 +++ b/arch/powerpc/platforms/44x/Kconfig
3 @@ -121,6 +121,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
22 +++ b/arch/powerpc/platforms/44x/ppc44x_simple.c
23 @@ -47,6 +47,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",