mpc85xx: add SPI kernel loader for TP-Link TL-WDR4900 v1
authorMatthias Schiffer <mschiffer@universe-factory.net>
Sun, 27 Mar 2022 18:57:01 +0000 (20:57 +0200)
committerDavid Bauer <mail@david-bauer.net>
Fri, 14 Oct 2022 21:13:02 +0000 (23:13 +0200)
commita296055b82fbb20457273492069ce9d62009e2a1
tree83db19e52b93c16e832ba33f9f11f20514d6a159
parent63e5ba8e69f03a584b707520db0a0821eda3024f
mpc85xx: add SPI kernel loader for TP-Link TL-WDR4900 v1

Similar to the lzma-loader on our MIPS targets, the spi-loader acts as
a second-stage loader that will then load and start the actual kernel.
As the TL-WDR4900 uses SPI-NOR and the P1010 family does not have support
for memory mapping of this type of flash, this loader needs to contain a
basic driver for the FSL ESPI controller.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
22 files changed:
target/linux/mpc85xx/image/spi-loader/.gitignore [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/Makefile [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/config/tplink_tl-wdr4900-v1.h [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/config/tplink_tl-wdr4900-v1.mk [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/drivers/serial/ns16550.c [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/drivers/spi/fsl_espi.c [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/drivers/spi/spi-nor.c [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/head.S [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/include/image.h [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/include/init.h [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/include/io.h [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/include/ppc_asm.h [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/include/serial.h [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/include/spi-nor.h [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/include/spi.h [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/include/stdio.h [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/include/string.h [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/include/types.h [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/loader.c [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/loader.lds [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/stdio.c [new file with mode: 0644]
target/linux/mpc85xx/image/spi-loader/string.S [new file with mode: 0644]