diff options
author | Marshall Dawson <marshalldawson3rd@gmail.com> | 2019-08-15 17:49:11 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2019-10-20 16:45:22 +0000 |
commit | 59e97b6378694d1807895c573624b7a2532bebfd (patch) | |
tree | 6ae8ef7bff6bf46c3e0e100248d90e7b49667e1e /src/soc/amd/picasso/i2c.c | |
parent | 9269be630b94653b599edd4b42ca2a8b992c857f (diff) |
soc/amd/picasso: Adjust I2C ASL
Clarify names as I2C2, etc. Use iomap.h defines for base addresses.
Update IRQs.
Change-Id: I3800592e4b0bcb681d0dcf24f69e269f845be025
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34915
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/amd/picasso/i2c.c')
-rw-r--r-- | src/soc/amd/picasso/i2c.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/amd/picasso/i2c.c b/src/soc/amd/picasso/i2c.c index 87866433d1..bcdf3850a8 100644 --- a/src/soc/amd/picasso/i2c.c +++ b/src/soc/amd/picasso/i2c.c @@ -73,11 +73,11 @@ const char *i2c_acpi_name(const struct device *dev) { switch (dev->path.mmio.addr) { case APU_I2C2_BASE: - return "I2CC"; + return "I2C2"; case APU_I2C3_BASE: - return "I2CD"; + return "I2C3"; case APU_I2C4_BASE: - return "I2CE"; + return "I2C4"; default: return NULL; } |