mpc85xx: p1020: convert Aerohive AP330/AP350 to simpleImage
[openwrt/staging/pepe2k.git] / target / linux / mpc85xx / patches-6.1 / 101-powerpc-85xx-hiveap-330-support.patch
1 --- a/arch/powerpc/platforms/85xx/Kconfig
2 +++ b/arch/powerpc/platforms/85xx/Kconfig
3 @@ -40,6 +40,17 @@ config BSC9132_QDS
4 and dual StarCore SC3850 DSP cores.
5 Manufacturer : Freescale Semiconductor, Inc
6
7 +config HIVEAP_330
8 + bool "Aerohive HiveAP-330"
9 + select DEFAULT_UIMAGE
10 + select ARCH_REQUIRE_GPIOLIB
11 + select GPIO_MPC8XXX
12 + help
13 + This option enables support for the Aerohive HiveAP-330 board.
14 +
15 + This board is a Concurrent Dual-Band wireless access point with a
16 + Freescale P1020 SoC.
17 +
18 config MPC8540_ADS
19 bool "Freescale MPC8540 ADS"
20 select DEFAULT_UIMAGE
21 --- a/arch/powerpc/platforms/85xx/Makefile
22 +++ b/arch/powerpc/platforms/85xx/Makefile
23 @@ -12,6 +12,7 @@ obj-y += common.o
24 obj-$(CONFIG_BSC9131_RDB) += bsc913x_rdb.o
25 obj-$(CONFIG_BSC9132_QDS) += bsc913x_qds.o
26 obj-$(CONFIG_C293_PCIE) += c293pcie.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 obj-$(CONFIG_MPC85xx_CDS) += mpc85xx_cds.o
31 --- a/arch/powerpc/boot/Makefile
32 +++ b/arch/powerpc/boot/Makefile
33 @@ -179,6 +179,7 @@ src-plat-$(CONFIG_PPC_PSERIES) += pserie
34 src-plat-$(CONFIG_PPC_POWERNV) += pseries-head.S
35 src-plat-$(CONFIG_PPC_IBM_CELL_BLADE) += pseries-head.S
36 src-plat-$(CONFIG_MVME7100) += motload-head.S mvme7100.c
37 +src-plat-$(CONFIG_HIVEAP_330) += simpleboot.c fixed-head.S
38 src-plat-$(CONFIG_TL_WDR4900_V1) += simpleboot.c fixed-head.S
39
40 src-plat-$(CONFIG_PPC_MICROWATT) += fixed-head.S microwatt.c
41 @@ -360,6 +361,7 @@ image-$(CONFIG_TQM8548) += cuImage.tqm
42 image-$(CONFIG_TQM8555) += cuImage.tqm8555
43 image-$(CONFIG_TQM8560) += cuImage.tqm8560
44 image-$(CONFIG_KSI8560) += cuImage.ksi8560
45 +image-$(CONFIG_HIVEAP_330) += simpleImage.hiveap-330
46 image-$(CONFIG_TL_WDR4900_V1) += simpleImage.tl-wdr4900-v1
47 # Board ports in arch/powerpc/platform/86xx/Kconfig
48 image-$(CONFIG_MVME7100) += dtbImage.mvme7100
49 --- a/arch/powerpc/boot/wrapper
50 +++ b/arch/powerpc/boot/wrapper
51 @@ -341,6 +341,7 @@ adder875-redboot)
52 platformo="$object/fixed-head.o $object/redboot-8xx.o"
53 binary=y
54 ;;
55 +simpleboot-hiveap-330|\
56 simpleboot-tl-wdr4900-v1)
57 platformo="$object/fixed-head.o $object/simpleboot.o"
58 link_address='0x1500000'