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>
This commit is contained in:
Elyes HAOUAS 2021-01-16 15:00:13 +01:00 committed by Patrick Georgi
parent f8248f38a1
commit 6a2ca474a4
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ void configure_gevent_smi(uint8_t gevent, uint8_t mode, uint8_t level)
/* SMI0 source is GEVENT0 and so on */ /* SMI0 source is GEVENT0 and so on */
configure_smi(gevent, mode); configure_smi(gevent, mode);
/* And set set the trigger level */ /* And set the trigger level */
reg32 = smi_read32(SMI_REG_SMITRIG0); reg32 = smi_read32(SMI_REG_SMITRIG0);
reg32 &= ~(1 << gevent); reg32 &= ~(1 << gevent);
reg32 |= (level & 0x1) << gevent; reg32 |= (level & 0x1) << gevent;