From 334772008c547d971e2591ef53bd570c176572ed Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Tue, 22 Nov 2022 15:15:21 +0100 Subject: sb/intel/i82801gx/lpc.c: Use post_code() Use post_code() instead of 'outb(value, CONFIG_POST_IO_PORT)'. Change-Id: I1ba6bff810b61a1249cda6e96eb40f4a81381322 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/69901 Reviewed-by: Felix Held Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- src/southbridge/intel/i82801gx/lpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/southbridge/intel/i82801gx/lpc.c b/src/southbridge/intel/i82801gx/lpc.c index ec0df2722c..d8c977694c 100644 --- a/src/southbridge/intel/i82801gx/lpc.c +++ b/src/southbridge/intel/i82801gx/lpc.c @@ -445,7 +445,7 @@ static void lpc_final(struct device *dev) outw(tco1_cnt, DEFAULT_PMBASE + 0x60 + TCO1_CNT); /* Indicate finalize step with post code */ - outb(POST_OS_BOOT, 0x80); + post_code(POST_OS_BOOT); } static const char *lpc_acpi_name(const struct device *dev) -- cgit v1.2.3