1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Intel PCH/PCU SPI flash driver.
5 * Copyright (C) 2016, Intel Corporation
6 * Author: Mika Westerberg <mika.westerberg@linux.intel.com>
9 #ifndef INTEL_SPI_PDATA_H
10 #define INTEL_SPI_PDATA_H
20 * struct intel_spi_boardinfo - Board specific data for Intel SPI driver
21 * @type: Type which this controller is compatible with
22 * @set_writeable: Try to make the chip writeable (optional)
23 * @data: Data to be passed to @set_writeable can be %NULL
25 struct intel_spi_boardinfo {
26 enum intel_spi_type type;
27 bool (*set_writeable)(void __iomem *base, void *data);
31 #endif /* INTEL_SPI_PDATA_H */