mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
a296055b82
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>
10 lines
263 B
C
10 lines
263 B
C
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#define CONFIG_FREQ_SYSTEMBUS 399999996
|
|
#define CONFIG_SPI_MAX_HZ 25000000
|
|
|
|
#define CONFIG_SERIAL_NS16550_REG_BASE 0xffe04500
|
|
#define CONFIG_SERIAL_NS16550_REG_SHIFT 0
|
|
|
|
#define CONFIG_SPI_FSL_ESPI_REG_BASE 0xffe07000
|