summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/cezanne/include/soc/southbridge.h
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-06-15 16:33:29 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-06-16 16:38:25 +0000
commit117823e76fbbea0252b5874746b6bd1aa7609593 (patch)
treed5b487fcad912800e65e643fde41bbd3914cc4c9 /src/soc/amd/cezanne/include/soc/southbridge.h
parent3b46333b39701ac2fdbbeba8d863449904f12f7a (diff)
downloadcoreboot-117823e76fbbea0252b5874746b6bd1aa7609593.tar.gz
coreboot-117823e76fbbea0252b5874746b6bd1aa7609593.tar.bz2
coreboot-117823e76fbbea0252b5874746b6bd1aa7609593.zip
soc/amd/cezanne: factor out AOAC offset defines
Factoring out those defines allows using them easily in the ACPI code without having to use preprocessor macros. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ib9dfddb0d4f32a542fa652ff8c14e932c224f247 Reviewed-on: https://review.coreboot.org/c/coreboot/+/55533 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc/amd/cezanne/include/soc/southbridge.h')
-rw-r--r--src/soc/amd/cezanne/include/soc/southbridge.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/soc/amd/cezanne/include/soc/southbridge.h b/src/soc/amd/cezanne/include/soc/southbridge.h
index f90964bd47ed..0ed5f33f22ae 100644
--- a/src/soc/amd/cezanne/include/soc/southbridge.h
+++ b/src/soc/amd/cezanne/include/soc/southbridge.h
@@ -105,20 +105,6 @@
#define I2C_PAD_CTRL_SPARE0 BIT(17)
#define I2C_PAD_CTRL_SPARE1 BIT(18)
-/* FCH AOAC device offsets for AOAC_DEV_D3_CTL/AOAC_DEV_D3_STATE */
-#define FCH_AOAC_DEV_CLK_GEN 0
-#define FCH_AOAC_DEV_I2C0 5
-#define FCH_AOAC_DEV_I2C1 6
-#define FCH_AOAC_DEV_I2C2 7
-#define FCH_AOAC_DEV_I2C3 8
-#define FCH_AOAC_DEV_I2C4 9
-#define FCH_AOAC_DEV_I2C5 10
-#define FCH_AOAC_DEV_UART0 11
-#define FCH_AOAC_DEV_UART1 12
-#define FCH_AOAC_DEV_AMBA 17
-#define FCH_AOAC_DEV_ESPI 27
-#define FCH_AOAC_DEV_EMMC 28
-
void fch_pre_init(void);
void fch_early_init(void);
void fch_init(void *chip_info);