soc/intel/pantherlake: Remove soc_info.[hc] interface
[coreboot2.git] / src / southbridge / intel / common / spi.h
blobf03e11c312f08b55126b7161f3ea2a67179509a8
2 /* SPDX-License-Identifier: GPL-2.0-only */
4 #ifndef SOUTHBRIDGE_INTEL_SPI_H
5 #define SOUTHBRIDGE_INTEL_SPI_H
7 enum optype {
8 READ_NO_ADDR = 0,
9 WRITE_NO_ADDR = 1,
10 READ_WITH_ADDR = 2,
11 WRITE_WITH_ADDR = 3
14 struct intel_spi_op {
15 u8 op;
16 enum optype type;
19 struct intel_swseq_spi_config {
20 u8 opprefixes[2];
21 struct intel_spi_op ops[8];
24 void spi_finalize_ops(void);
25 void intel_southbridge_override_spi(struct intel_swseq_spi_config *spi_config);
27 #endif