intel-spi.h 751 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Intel PCH/PCU SPI flash driver.
  3. *
  4. * Copyright (C) 2016, Intel Corporation
  5. * Author: Mika Westerberg <mika.westerberg@linux.intel.com>
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. #ifndef INTEL_SPI_PDATA_H
  12. #define INTEL_SPI_PDATA_H
  13. enum intel_spi_type {
  14. INTEL_SPI_BYT = 1,
  15. INTEL_SPI_LPT,
  16. INTEL_SPI_BXT,
  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. #endif /* INTEL_SPI_PDATA_H */