summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/picasso/include/soc/iomap.h
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-02-04 21:31:49 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-02-05 22:03:34 +0000
commit757d645cb069f1759303467efb9753fcdd847da4 (patch)
tree4d6d8c77d914d9fe176c86c1c4de12f22baced18 /src/soc/amd/picasso/include/soc/iomap.h
parent74bc46c4db959133e579da129638fb51a41d7ccd (diff)
downloadcoreboot-757d645cb069f1759303467efb9753fcdd847da4.tar.gz
coreboot-757d645cb069f1759303467efb9753fcdd847da4.tar.bz2
coreboot-757d645cb069f1759303467efb9753fcdd847da4.zip
soc/amd/picasso: remove PICASSO_ACPI_IO_BASE Kconfig option
This was the only I/O base address in Kconfig, no board changed it and if a board changed it, it needs to make sure that it won't overlap with other I/O resources, so just use the same value as constant in the define instead of the value from Kconfig. Also remove the PICASSO_ prefix from ACPI_IO_BASE. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I7ea62f1101ddefa8785da92de5ba2aaf7945694a Reviewed-on: https://review.coreboot.org/c/coreboot/+/50287 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc/amd/picasso/include/soc/iomap.h')
-rw-r--r--src/soc/amd/picasso/include/soc/iomap.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/soc/amd/picasso/include/soc/iomap.h b/src/soc/amd/picasso/include/soc/iomap.h
index 0296c87dd83b..3d0432b303f2 100644
--- a/src/soc/amd/picasso/include/soc/iomap.h
+++ b/src/soc/amd/picasso/include/soc/iomap.h
@@ -72,15 +72,15 @@
/* I/O Ranges */
#define ACPI_SMI_CTL_PORT 0xb2
-#define PICASSO_ACPI_IO_BASE CONFIG_PICASSO_ACPI_IO_BASE
-#define ACPI_PM_EVT_BLK (PICASSO_ACPI_IO_BASE + 0x00) /* 4 bytes */
+#define ACPI_IO_BASE 0x400
+#define ACPI_PM_EVT_BLK (ACPI_IO_BASE + 0x00) /* 4 bytes */
#define ACPI_PM1_STS (ACPI_PM_EVT_BLK + 0x00) /* 2 bytes */
#define ACPI_PM1_EN (ACPI_PM_EVT_BLK + 0x02) /* 2 bytes */
-#define ACPI_PM1_CNT_BLK (PICASSO_ACPI_IO_BASE + 0x04) /* 2 bytes */
-#define ACPI_PM_TMR_BLK (PICASSO_ACPI_IO_BASE + 0x08) /* 4 bytes */
-#define ACPI_CPU_CONTROL (PICASSO_ACPI_IO_BASE + 0x13)
+#define ACPI_PM1_CNT_BLK (ACPI_IO_BASE + 0x04) /* 2 bytes */
+#define ACPI_PM_TMR_BLK (ACPI_IO_BASE + 0x08) /* 4 bytes */
+#define ACPI_CPU_CONTROL (ACPI_IO_BASE + 0x13)
/* doc says 0x14 for GPE0_BLK but FT5 only works with 0x20 */
-#define ACPI_GPE0_BLK (PICASSO_ACPI_IO_BASE + 0x20) /* 8 bytes */
+#define ACPI_GPE0_BLK (ACPI_IO_BASE + 0x20) /* 8 bytes */
#define ACPI_GPE0_STS (ACPI_GPE0_BLK + 0x00) /* 4 bytes */
#define ACPI_GPE0_EN (ACPI_GPE0_BLK + 0x04) /* 4 bytes */
#define NCP_ERR 0xf0