blob: ebb4f332588b270d6975a30e82fca7b669957afe [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Mika Westerberg8afda8b2016-11-28 15:06:24 +03002/*
3 * Intel PCH/PCU SPI flash driver.
4 *
5 * Copyright (C) 2016, Intel Corporation
6 * Author: Mika Westerberg <mika.westerberg@linux.intel.com>
Mika Westerberg8afda8b2016-11-28 15:06:24 +03007 */
8
9#ifndef INTEL_SPI_PDATA_H
10#define INTEL_SPI_PDATA_H
11
12enum 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 */
23struct intel_spi_boardinfo {
24 enum intel_spi_type type;
25 bool writeable;
26};
27
28#endif /* INTEL_SPI_PDATA_H */