summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2019-05-22 08:22:36 -0600
committerMartin Roth <martinroth@google.com>2019-06-06 19:26:04 +0000
commit960964f093556b1651b82c9768333446f778f6d0 (patch)
tree6b59d9575fef4761b62c4b34596373e994b7f6be /src/soc/amd/common/block
parenta887c1b15b158321c48057387ff55645654cb97c (diff)
downloadcoreboot-960964f093556b1651b82c9768333446f778f6d0.tar.xz
soc/amd/common: Clean up prototypes for AcpiMmio
Reorder the biosram prototypes to match the rest of the file. Remove prototypes for asf 32-bit functions that have not been implemented. Change-Id: Ic2663158d8a71952c26eb37f34342a6ea5e58a42 Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32929 Reviewed-by: Richard Spiegel <richard.spiegel@silverbackltd.com> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/common/block')
-rw-r--r--src/soc/amd/common/block/include/amdblocks/acpimmio.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/acpimmio.h b/src/soc/amd/common/block/include/amdblocks/acpimmio.h
index e1cf7cbdc2..34e9ce9594 100644
--- a/src/soc/amd/common/block/include/amdblocks/acpimmio.h
+++ b/src/soc/amd/common/block/include/amdblocks/acpimmio.h
@@ -44,9 +44,9 @@ void pm2_write8(uint8_t reg, uint8_t value);
void pm2_write16(uint8_t reg, uint16_t value);
void pm2_write32(uint8_t reg, uint32_t value);
uint8_t biosram_read8(uint8_t offset);
-void biosram_write8(uint8_t offset, uint8_t value);
uint16_t biosram_read16(uint8_t offset);
uint32_t biosram_read32(uint8_t offset);
+void biosram_write8(uint8_t offset, uint8_t value);
void biosram_write16(uint8_t offset, uint16_t value);
void biosram_write32(uint8_t offset, uint32_t value);
uint8_t acpi_read8(uint8_t reg);
@@ -57,10 +57,8 @@ void acpi_write16(uint8_t reg, uint16_t value);
void acpi_write32(uint8_t reg, uint32_t value);
uint8_t asf_read8(uint8_t reg);
uint16_t asf_read16(uint8_t reg);
-uint32_t asf_read32(uint8_t reg);
void asf_write8(uint8_t reg, uint8_t value);
void asf_write16(uint8_t reg, uint16_t value);
-void asf_write32(uint8_t reg, uint32_t value);
uint8_t smbus_read8(uint8_t reg);
uint16_t smbus_read16(uint8_t reg);
void smbus_write8(uint8_t reg, uint8_t value);