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>
(cherry picked from commit a296055b82)
This commit is contained in:
committed by
David Bauer
parent
c1fcca50ba
commit
f7a43e4606
8
target/linux/mpc85xx/image/spi-loader/include/init.h
Normal file
8
target/linux/mpc85xx/image/spi-loader/include/init.h
Normal file
@@ -0,0 +1,8 @@
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
/*
|
||||
* Copyright (c) 2022 Matthias Schiffer <mschiffer@universe-factory.net>
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
void start(void);
|
||||
Reference in New Issue
Block a user