#include <device/mmio.h>
#include <assert.h>
#include <spi_flash.h>
#include <soc/addressmap.h>
#include <soc/flash_controller_common.h>
#include <soc/gpio.h>
#include <soc/spi.h>
Go to the source code of this file.
◆ mtk_spi_set_gpio_pinmux()
◆ spi_bus
◆ spi_ctrlr_bus_map
Initial value:= {
{
.bus_start = 0,
},
{
.bus_start = CONFIG_BOOT_DEVICE_SPI_FLASH_BUS,
.bus_end = CONFIG_BOOT_DEVICE_SPI_FLASH_BUS,
},
}
Definition at line 18 of file spi.c.
◆ spi_ctrlr_bus_map_count
Definition at line 47 of file spi.c.
◆ spi_flash_ctrlr
Initial value:= {
.max_xfer_size = 65535,
}
int mtk_spi_flash_probe(const struct spi_slave *spi, struct spi_flash *flash)
Definition at line 18 of file spi.c.