MCPcopy Create free account
hub / github.com/coreboot/coreboot / spi_read8

Function spi_read8

util/amdtool/spi.c:111–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109uint32_t spi_smn_base = 0;
110
111static 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
119static uint16_t spi_read16(uint32_t offset)
120{

Callers 2

print_spi_alt_csFunction · 0.70
print_spibarFunction · 0.70

Calls 2

smn_read8Function · 0.85
read8Function · 0.50

Tested by

no test coverage detected