aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/patches-5.10/103-powerpc-85xx-red-15w-rev1.patch
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2021-02-16 22:05:13 +0100
committerDavid Bauer <mail@david-bauer.net>2021-02-20 01:26:00 +0100
commit5bd6d9377d625f6445caf75bee2ecb16fd45971d (patch)
tree81991aced2a4dd2dda8268ded8b63d73b8ae9737 /target/linux/mpc85xx/patches-5.10/103-powerpc-85xx-red-15w-rev1.patch
parent422b3e199316b9794e400ea1519505cb0609dfc3 (diff)
downloadupstream-5bd6d9377d625f6445caf75bee2ecb16fd45971d.tar.gz
upstream-5bd6d9377d625f6445caf75bee2ecb16fd45971d.tar.bz2
upstream-5bd6d9377d625f6445caf75bee2ecb16fd45971d.zip
mpc85xx-p1010: add Kernel 5.10 support
Tested on: Sophos RED 15W The TP-Link WL-WDR4900 needs to be disabled when 5.10 becomes the default kernel. When building with all kmods enabled, the resulting kernel image exceeds the maximum size the bootloader reads from the flash. For more information, see GitHub issue #1773 Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/mpc85xx/patches-5.10/103-powerpc-85xx-red-15w-rev1.patch')
-rw-r--r--target/linux/mpc85xx/patches-5.10/103-powerpc-85xx-red-15w-rev1.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/patches-5.10/103-powerpc-85xx-red-15w-rev1.patch b/target/linux/mpc85xx/patches-5.10/103-powerpc-85xx-red-15w-rev1.patch
new file mode 100644
index 0000000000..b84a56659c
--- /dev/null
+++ b/target/linux/mpc85xx/patches-5.10/103-powerpc-85xx-red-15w-rev1.patch
@@ -0,0 +1,29 @@
+--- a/arch/powerpc/platforms/85xx/Kconfig
++++ b/arch/powerpc/platforms/85xx/Kconfig
+@@ -173,6 +173,16 @@ config XES_MPC85xx
+ Manufacturer: Extreme Engineering Solutions, Inc.
+ URL: <http://www.xes-inc.com/>
+
++config RED_15W_REV1
++ bool "Sophos RED 15w Rev.1"
++ select DEFAULT_UIMAGE
++ select ARCH_REQUIRE_GPIOLIB
++ select GPIO_MPC8XXX
++ help
++ This option enables support for the Sophos RED 15w Rev.1 board.
++
++ This board is a wireless VPN router with a Freescale P1010 SoC.
++
+ config STX_GP3
+ bool "Silicon Turnkey Express GP3"
+ help
+--- a/arch/powerpc/platforms/85xx/Makefile
++++ b/arch/powerpc/platforms/85xx/Makefile
+@@ -25,6 +25,7 @@ obj-$(CONFIG_P1023_RDB) += p1023_rdb.o
+ obj-$(CONFIG_TWR_P102x) += twr_p102x.o
+ obj-$(CONFIG_CORENET_GENERIC) += corenet_generic.o
+ obj-$(CONFIG_FB_FSL_DIU) += t1042rdb_diu.o
++obj-$(CONFIG_RED_15W_REV1) += red15w_rev1.o
+ obj-$(CONFIG_STX_GP3) += stx_gp3.o
+ obj-$(CONFIG_TQM85xx) += tqm85xx.o
+ obj-$(CONFIG_TL_WDR4900_V1) += tl_wdr4900_v1.o