aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/smi
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-01-16 15:00:13 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-01-18 07:29:48 +0000
commit6a2ca474a4c21ce6cb990594dbfc351df258193a (patch)
tree36282af5c0d5a6aa8289b523403a60ab9d878e34 /src/soc/amd/common/block/smi
parentf8248f38a10c6dc664b043445233c8f69c3af0f6 (diff)
soc/amd/common/block/smi/smi_util.c: Remove repeated word
Change-Id: Ifeac919ac7214c1baf877a36fd3d57636fc83563 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49527 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/amd/common/block/smi')
-rw-r--r--src/soc/amd/common/block/smi/smi_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/common/block/smi/smi_util.c b/src/soc/amd/common/block/smi/smi_util.c
index d63f585d9b..19a4e32e30 100644
--- a/src/soc/amd/common/block/smi/smi_util.c
+++ b/src/soc/amd/common/block/smi/smi_util.c
@@ -49,7 +49,7 @@ void 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;