summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonello Dettori <dev@dettori.io>2016-09-02 09:17:26 +0200
committerMartin Roth <martinroth@google.com>2016-09-04 05:48:44 +0200
commit6fc430b3ebb6173fba09b04f3a32cf8ae2be48c6 (patch)
tree113b61a32043ca674ee4b1518fa35e587a1a9339
parent20c9afa9c7035d102f2ce102ffe23e86ca520242 (diff)
downloadcoreboot-6fc430b3ebb6173fba09b04f3a32cf8ae2be48c6.tar.xz
northbridge/intel/sandybridge: transition away from device_t
Replace the use of the old device_t definition inside northbridge/intel/sandybridge. The patch has been tested both with the arch/io.h definition of device_t enabled and disabled in order to ensure compatibility while the transaction takes place. Change-Id: I35cc76ec7b6baa216666d06f6f325f43ac69067e Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/16409 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r--src/northbridge/intel/sandybridge/sandybridge.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/intel/sandybridge/sandybridge.h b/src/northbridge/intel/sandybridge/sandybridge.h
index 7b0efd1176..972ed9f0a2 100644
--- a/src/northbridge/intel/sandybridge/sandybridge.h
+++ b/src/northbridge/intel/sandybridge/sandybridge.h
@@ -234,7 +234,7 @@ void mainboard_config_superio(void);
int mainboard_should_reset_usb(int s3resume);
void perform_raminit(int s3resume);
-#if ENV_RAMSTAGE
+#if ENV_RAMSTAGE && !defined(__SIMPLE_DEVICE__)
#include <device/device.h>
struct acpi_rsdp;