summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-07-14 18:30:26 +0200
committerMartin L Roth <gaumless@gmail.com>2023-07-17 03:25:32 +0000
commit5bd68097cbb850552d6ec440118c409612e034f4 (patch)
treeb402975cb1d8640fd56aa3db2375d739342db1cc /src/soc/amd/common/block
parent8336c72524a975564baccc1bf68d65dcfed61597 (diff)
soc/amd/common/acpimmio/mmio_util: drop enable_acpimmio_decode_pm24
None of the platforms that used enable_acpimmio_decode_pm24 is in the tree any more, so drop this function. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Iea345a825c4581bf2acb932692ebcad2a7a5b4ed Reviewed-on: https://review.coreboot.org/c/coreboot/+/76457 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/soc/amd/common/block')
-rw-r--r--src/soc/amd/common/block/acpimmio/mmio_util.c9
-rw-r--r--src/soc/amd/common/block/include/amdblocks/acpimmio.h3
2 files changed, 0 insertions, 12 deletions
diff --git a/src/soc/amd/common/block/acpimmio/mmio_util.c b/src/soc/amd/common/block/acpimmio/mmio_util.c
index efe3683b81..59532efe6f 100644
--- a/src/soc/amd/common/block/acpimmio/mmio_util.c
+++ b/src/soc/amd/common/block/acpimmio/mmio_util.c
@@ -41,15 +41,6 @@ DECLARE_ACPIMMIO(acpimmio_acdc_tmr, ACDCTMR);
#undef DECLARE_ACPIMMIO
-void enable_acpimmio_decode_pm24(void)
-{
- uint32_t dw;
-
- dw = pm_io_read32(ACPIMMIO_DECODE_REGISTER_24);
- dw |= PM_24_ACPIMMIO_DECODE_EN;
- pm_io_write32(ACPIMMIO_DECODE_REGISTER_24, dw);
-}
-
void enable_acpimmio_decode_pm04(void)
{
uint32_t dw;
diff --git a/src/soc/amd/common/block/include/amdblocks/acpimmio.h b/src/soc/amd/common/block/include/amdblocks/acpimmio.h
index 9c8452b639..25abfd507f 100644
--- a/src/soc/amd/common/block/include/amdblocks/acpimmio.h
+++ b/src/soc/amd/common/block/include/amdblocks/acpimmio.h
@@ -78,9 +78,6 @@ extern uint8_t *MAYBE_CONST acpimmio_aoac;
#undef MAYBE_CONST
-/* For older discrete FCHs */
-void enable_acpimmio_decode_pm24(void);
-
/* For newer integrated FCHs */
void enable_acpimmio_decode_pm04(void);
void fch_enable_cf9_io(void);