From 960964f093556b1651b82c9768333446f778f6d0 Mon Sep 17 00:00:00 2001 From: Marshall Dawson Date: Wed, 22 May 2019 08:22:36 -0600 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/32929 Reviewed-by: Richard Spiegel Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/soc/amd/common/block/include/amdblocks/acpimmio.h | 4 +--- 1 file changed, 1 insertion(+), 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);