summaryrefslogtreecommitdiff
path: root/src/mainboard/kontron/ktqm77
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2016-02-10 01:43:08 +0100
committerMartin Roth <martinroth@google.com>2016-02-12 04:22:00 +0100
commit613d3ad2086f463170fc0791653532abc937dc9c (patch)
tree2a9b22fb10341443ed5cfeda6e272a7e22f4ed77 /src/mainboard/kontron/ktqm77
parentffbb3c0b8abea621eb7a1583d630cf06c8cbfbbc (diff)
downloadcoreboot-613d3ad2086f463170fc0791653532abc937dc9c.tar.xz
Move gpio.h to gpio.c on sandy and ivy.
Change-Id: Ic9d8c2a4e5125eca20eb692ac7ed070fda6cbe32 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: https://review.coreboot.org/13657 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/kontron/ktqm77')
-rw-r--r--src/mainboard/kontron/ktqm77/Makefile.inc1
-rw-r--r--src/mainboard/kontron/ktqm77/gpio.c (renamed from src/mainboard/kontron/ktqm77/gpio.h)0
-rw-r--r--src/mainboard/kontron/ktqm77/romstage.c2
3 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/kontron/ktqm77/Makefile.inc b/src/mainboard/kontron/ktqm77/Makefile.inc
new file mode 100644
index 0000000000..3dae61e8a8
--- /dev/null
+++ b/src/mainboard/kontron/ktqm77/Makefile.inc
@@ -0,0 +1 @@
+romstage-y += gpio.c
diff --git a/src/mainboard/kontron/ktqm77/gpio.h b/src/mainboard/kontron/ktqm77/gpio.c
index a6c39606e5..a6c39606e5 100644
--- a/src/mainboard/kontron/ktqm77/gpio.h
+++ b/src/mainboard/kontron/ktqm77/gpio.c
diff --git a/src/mainboard/kontron/ktqm77/romstage.c b/src/mainboard/kontron/ktqm77/romstage.c
index 197b460e49..8f3f900464 100644
--- a/src/mainboard/kontron/ktqm77/romstage.c
+++ b/src/mainboard/kontron/ktqm77/romstage.c
@@ -29,11 +29,9 @@
#include <northbridge/intel/sandybridge/sandybridge.h>
#include <northbridge/intel/sandybridge/raminit.h>
#include <southbridge/intel/bd82x6x/pch.h>
-#include <southbridge/intel/bd82x6x/gpio.h>
#include <arch/cpu.h>
#include <cpu/x86/msr.h>
#include <halt.h>
-#include "gpio.h"
void pch_enable_lpc(void)
{