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>
This commit is contained in:
parent
69d98b3655
commit
44d103581d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue