From 6217a15674eb73a3c453d8b1de40bc4e7ea3c90a Mon Sep 17 00:00:00 2001 From: Sindhoor Tilak Date: Sun, 19 Jul 2020 12:36:47 +0000 Subject: southbridge/intel/common: Replace outb with post_code in finalize.c The outb() call is replaced with the post_code() The post_codes.h is replaced with console.h since console.h includes both the post_code definition and post_codes.h Change-Id: I21345260e86de30614c416e2f509bd77b9e00cb7 Signed-off-by: Sindhoor Tilak Reviewed-on: https://review.coreboot.org/c/coreboot/+/43596 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/southbridge/intel/common/finalize.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/southbridge/intel/common/finalize.c b/src/southbridge/intel/common/finalize.c index 00c3a0ef87..59d429747c 100644 --- a/src/southbridge/intel/common/finalize.c +++ b/src/southbridge/intel/common/finalize.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include -#include +#include #include #include #include @@ -48,5 +48,5 @@ void intel_pch_finalize_smm(void) write_pmbase16(TCO1_CNT, read_pmbase16(TCO1_CNT) | TCO_LOCK); - outb(POST_OS_BOOT, CONFIG_POST_IO_PORT); + post_code(POST_OS_BOOT); } -- cgit v1.2.3