From 95b0c3d75a40cea40a15e8f7d6f56af2ebe2db77 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Thu, 26 Jun 2014 18:09:34 +1000 Subject: arch/x86/include/bootblock_common.h: Sanitize header inclusion Sanitize the inclusion of mc146818rtc.h in bootblock_common.h Change-Id: I37d9ffd1375aedbf1f3eaa4ddce27e16166ce0b9 Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/6119 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi Reviewed-by: Paul Menzel --- src/arch/x86/include/bootblock_common.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/arch/x86/include/bootblock_common.h b/src/arch/x86/include/bootblock_common.h index 4926086bce..276b514b31 100644 --- a/src/arch/x86/include/bootblock_common.h +++ b/src/arch/x86/include/bootblock_common.h @@ -1,5 +1,6 @@ -#include #include +#include +#include #ifdef CONFIG_BOOTBLOCK_CPU_INIT #include CONFIG_BOOTBLOCK_CPU_INIT @@ -29,8 +30,6 @@ static void bootblock_mainboard_init(void) #endif #if CONFIG_USE_OPTION_TABLE -#include - static void sanitize_cmos(void) { if (cmos_error() || !cmos_chksum_valid()) { @@ -48,8 +47,6 @@ static void sanitize_cmos(void) #endif #if CONFIG_CMOS_POST -#include - static void cmos_post_init(void) { u8 magic = CMOS_POST_BANK_0_MAGIC; -- cgit v1.2.3