1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Intel PCH/PCU SPI flash driver.
4 *
5 * Copyright (C) 2016, Intel Corporation
6 * Author: Mika Westerberg <mika.westerberg@linux.intel.com>
7 */
8
9 #ifndef INTEL_SPI_PDATA_H
10 #define INTEL_SPI_PDATA_H
11
12 enum intel_spi_type {
13 INTEL_SPI_BYT = 1,
14 INTEL_SPI_LPT,
15 INTEL_SPI_BXT,
16 };
17
18 /**
19 * struct intel_spi_boardinfo - Board specific data for Intel SPI driver
20 * @type: Type which this controller is compatible with
21 * @writeable: The chip is writeable
22 */
23 struct intel_spi_boardinfo {
24 enum intel_spi_type type;
25 bool writeable;
26 };
27
28 #endif /* INTEL_SPI_PDATA_H */