summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2020-11-30 18:06:35 +0100
committerFelix Held <felix-coreboot@felixheld.de>2020-12-01 18:07:33 +0000
commit9bc16ed856581676d011759c4c8ced3001a9ec16 (patch)
tree209bab3fe1b975f93e8f233f7dcb55607eb558d6 /src/soc/amd
parentee38ccecf83f5ca29076d81fece1b43eed7a43a0 (diff)
soc/amd/picasso/aoac: fix typo in comment
The power_off_aoac_device function clears the FCH_AOAC_PWR_ON_DEV bit, so the comment should be that it powers off the devices. Change-Id: Ia5e5d80b1977c3f53fcd9cf6d48bdb59045dfc3c Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48155 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/picasso/aoac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/picasso/aoac.c b/src/soc/amd/picasso/aoac.c
index 1f7dcb02e4..f9fe0e2205 100644
--- a/src/soc/amd/picasso/aoac.c
+++ b/src/soc/amd/picasso/aoac.c
@@ -45,7 +45,7 @@ void power_off_aoac_device(unsigned int dev)
{
uint8_t byte;
- /* Power on the UART and AMBA devices */
+ /* Power off the UART and AMBA devices */
byte = aoac_read8(AOAC_DEV_D3_CTL(dev));
byte &= ~FCH_AOAC_PWR_ON_DEV;
aoac_write8(AOAC_DEV_D3_CTL(dev), byte);