summaryrefslogtreecommitdiff
path: root/src/southbridge/intel
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-09-27 07:24:17 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-09-28 21:15:27 +0000
commitd7205bebd53761e17e22701ca0573ffa5629d38e (patch)
tree3620a0040d5ae10a4cbce854c9025fb1d50a7016 /src/southbridge/intel
parent197a3c6cea86cb92c10c05c710dd4184c0e7ba72 (diff)
downloadcoreboot-d7205bebd53761e17e22701ca0573ffa5629d38e.tar.xz
nb,sb/intel: Clean up some __BOOTBLOCK__ and __SIMPLE_DEVICE__ use
Change-Id: Ie3f3c043daa6ec18ed14929668e5acae172177b3 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35603 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/southbridge/intel')
-rw-r--r--src/southbridge/intel/i82801dx/i82801dx.h9
1 files changed, 4 insertions, 5 deletions
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 <arch/acpi.h>
#if !defined(__ASSEMBLER__)
-#if !defined(__SIMPLE_DEVICE__)
+
+#include <device/device.h>
#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