Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Mika Westerberg | 8afda8b | 2016-11-28 15:06:24 +0300 | [diff] [blame] | 2 | /* |
| 3 | * Intel PCH/PCU SPI flash driver. |
| 4 | * |
| 5 | * Copyright (C) 2016, Intel Corporation |
| 6 | * Author: Mika Westerberg <mika.westerberg@linux.intel.com> |
Mika Westerberg | 8afda8b | 2016-11-28 15:06:24 +0300 | [diff] [blame] | 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 */ |