| 109 | uint32_t spi_smn_base = 0; |
| 110 | |
| 111 | static uint8_t spi_read8(uint32_t offset) |
| 112 | { |
| 113 | if (use_smn_access) |
| 114 | return smn_read8(spi_smn_base + offset); |
| 115 | else |
| 116 | return read8(spibar + offset); |
| 117 | } |
| 118 | |
| 119 | static uint16_t spi_read16(uint32_t offset) |
| 120 | { |
no test coverage detected