mpc85xx: p1020: convert Aerohive AP330/AP350 to simpleImage
[openwrt/openwrt.git] / target / linux / mpc85xx / patches-5.15 / 110-powerpc-85xx-br200-wp-support.patch
1 --- a/arch/powerpc/platforms/85xx/Kconfig
2 +++ b/arch/powerpc/platforms/85xx/Kconfig
3 @@ -49,6 +49,16 @@ config BSC9132_QDS
4 and dual StarCore SC3850 DSP cores.
5 Manufacturer : Freescale Semiconductor, Inc
6
7 +config BR200_WP
8 + bool "Aerohive BR200-WP"
9 + select DEFAULT_UIMAGE
10 + select ARCH_REQUIRE_GPIOLIB
11 + select GPIO_MPC8XXX
12 + help
13 + This option enables support for the Aerohive BR200-WP board.
14 +
15 + This board is a wireless router with a Freescale P1011 SoC.
16 +
17 config HIVEAP_330
18 bool "Aerohive HiveAP-330"
19 select DEFAULT_UIMAGE
20 --- a/arch/powerpc/platforms/85xx/Makefile
21 +++ b/arch/powerpc/platforms/85xx/Makefile
22 @@ -12,6 +12,7 @@ obj-y += common.o
23 obj-$(CONFIG_BSC9131_RDB) += bsc913x_rdb.o
24 obj-$(CONFIG_BSC9132_QDS) += bsc913x_qds.o
25 obj-$(CONFIG_C293_PCIE) += c293pcie.o
26 +obj-$(CONFIG_BR200_WP) += br200-wp.o
27 obj-$(CONFIG_HIVEAP_330) += hiveap-330.o
28 obj-$(CONFIG_MPC8540_ADS) += mpc85xx_ads.o
29 obj-$(CONFIG_MPC8560_ADS) += mpc85xx_ads.o
30 --- a/arch/powerpc/boot/Makefile
31 +++ b/arch/powerpc/boot/Makefile
32 @@ -163,6 +163,7 @@ src-plat-$(CONFIG_PPC_PSERIES) += pserie
33 src-plat-$(CONFIG_PPC_POWERNV) += pseries-head.S
34 src-plat-$(CONFIG_PPC_IBM_CELL_BLADE) += pseries-head.S
35 src-plat-$(CONFIG_MVME7100) += motload-head.S mvme7100.c
36 +src-plat-$(CONFIG_BR200_WP) += simpleboot.c fixed-head.S
37 src-plat-$(CONFIG_HIVEAP_330) += simpleboot.c fixed-head.S
38 src-plat-$(CONFIG_TL_WDR4900_V1) += simpleboot.c fixed-head.S
39 src-plat-$(CONFIG_WS_AP3825I) += simpleboot.c fixed-head.S
40 @@ -346,6 +347,7 @@ image-$(CONFIG_TQM8548) += cuImage.tqm
41 image-$(CONFIG_TQM8555) += cuImage.tqm8555
42 image-$(CONFIG_TQM8560) += cuImage.tqm8560
43 image-$(CONFIG_KSI8560) += cuImage.ksi8560
44 +image-$(CONFIG_BR200_WP) += simpleImage.br200-wp
45 image-$(CONFIG_HIVEAP_330) += simpleImage.hiveap-330
46 image-$(CONFIG_TL_WDR4900_V1) += simpleImage.tl-wdr4900-v1
47 image-$(CONFIG_WS_AP3715I) += simpleImage.ws-ap3715i
48 --- a/arch/powerpc/boot/wrapper
49 +++ b/arch/powerpc/boot/wrapper
50 @@ -339,6 +339,7 @@ adder875-redboot)
51 platformo="$object/fixed-head.o $object/redboot-8xx.o"
52 binary=y
53 ;;
54 +simpleboot-br200-wp|\
55 simpleboot-hiveap-330|\
56 simpleboot-ws-ap3715i|\
57 simpleboot-ws-ap3825i|\