summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8195/spi.c
blob: 459e46a150e6efe37f2804bb62352f7f3bdfb108 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0-only */

#include <device/mmio.h>
#include <soc/addressmap.h>
#include <soc/spi.h>

static const struct spi_ctrlr spi_flash_ctrlr = {
	.max_xfer_size = 65535,
};

const struct spi_ctrlr_buses spi_ctrlr_bus_map[] = {
	{
		.ctrlr = &spi_flash_ctrlr,
	},
};

const size_t spi_ctrlr_bus_map_count = ARRAY_SIZE(spi_ctrlr_bus_map);