aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/amd/pi
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2022-01-07 18:23:43 +0100
committerMichał Żygowski <michal.zygowski@3mdeb.com>2022-01-10 09:56:09 +0000
commit44d103581daaf991d36dd1220425f56bdd3cedbe (patch)
treec42c79dc465c6c46920ab67cf6ac95b880d2ba25 /src/southbridge/amd/pi
parent69d98b3655de4efddc192a722ea18076f0a04064 (diff)
southbridge/amd/pi/hudson/smi_util.c: Remove repeated "set"
Change-Id: Ice47aeb9b1bc462d60b396bedeaab48ae0922e00 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60907 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Diffstat (limited to 'src/southbridge/amd/pi')
-rw-r--r--src/southbridge/amd/pi/hudson/smi_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/pi/hudson/smi_util.c b/src/southbridge/amd/pi/hudson/smi_util.c
index 6bb433893d..3dc2d8a31e 100644
--- a/src/southbridge/amd/pi/hudson/smi_util.c
+++ b/src/southbridge/amd/pi/hudson/smi_util.c
@@ -52,7 +52,7 @@ void hudson_configure_gevent_smi(uint8_t gevent, uint8_t mode, uint8_t level)
/* SMI0 source is GEVENT0 and so on */
configure_smi(gevent, mode);
- /* And set set the trigger level */
+ /* And set the trigger level */
reg32 = smi_read32(SMI_REG_SMITRIG0);
reg32 &= ~(1 << gevent);
reg32 |= (level & 0x1) << gevent;