From d7205bebd53761e17e22701ca0573ffa5629d38e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Fri, 27 Sep 2019 07:24:17 +0300 Subject: nb,sb/intel: Clean up some __BOOTBLOCK__ and __SIMPLE_DEVICE__ use MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie3f3c043daa6ec18ed14929668e5acae172177b3 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/35603 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/southbridge/intel/i82801dx/i82801dx.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/southbridge/intel/i82801dx') diff --git a/src/southbridge/intel/i82801dx/i82801dx.h b/src/southbridge/intel/i82801dx/i82801dx.h index ac53ae13a3..9aa3017b00 100644 --- a/src/southbridge/intel/i82801dx/i82801dx.h +++ b/src/southbridge/intel/i82801dx/i82801dx.h @@ -30,14 +30,13 @@ #include #if !defined(__ASSEMBLER__) -#if !defined(__SIMPLE_DEVICE__) + +#include #include "chip.h" -extern void i82801dx_enable(struct device *dev); -#else + +void i82801dx_enable(struct device *dev); void enable_smbus(void); int smbus_read_byte(unsigned device, unsigned address); -#endif - void aseg_smm_lock(void); #endif -- cgit v1.2.3