summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2013-05-02 11:44:02 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-06-06 20:34:27 +0200
commit4af2bb5724b7b50b1a7b139da7fe17289e0785c8 (patch)
tree1647cf0dbfeeedaebe19eb9cfe2a6517e7755024
parent5c4645b0ee798e52a6bf18ae1544dd86f8dafdaa (diff)
intel/bd82x6x: fix building usb debug on SNB/IVB
Change-Id: Ica3afbf8277cb025251da7af181f8de0d0036b45 Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Reviewed-on: http://review.coreboot.org/3389 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r--src/southbridge/intel/bd82x6x/usb_debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/southbridge/intel/bd82x6x/usb_debug.c b/src/southbridge/intel/bd82x6x/usb_debug.c
index 79a43bd308..e075a76195 100644
--- a/src/southbridge/intel/bd82x6x/usb_debug.c
+++ b/src/southbridge/intel/bd82x6x/usb_debug.c
@@ -22,9 +22,10 @@
#include <console/console.h>
#include <usbdebug.h>
#include <device/pci_def.h>
-#include "pch.h"
#ifdef __PRE_RAM__
+#include "pch.h"
+
void enable_usbdebug(unsigned int port)
{
u32 dbgctl;