summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/jecht/chromeos.c
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2017-03-17 14:14:14 -0700
committerJulius Werner <jwerner@chromium.org>2017-03-28 22:16:24 +0200
commitb04cc6b90204d55096a56d4f3cd707148a634c97 (patch)
tree6cdbeda0c7761435592692d987433c2cafeaa68b /src/mainboard/google/jecht/chromeos.c
parent320edbe2ba01a1b5d9de25bc217b8dae936b8b17 (diff)
downloadcoreboot-b04cc6b90204d55096a56d4f3cd707148a634c97.tar.gz
coreboot-b04cc6b90204d55096a56d4f3cd707148a634c97.tar.bz2
coreboot-b04cc6b90204d55096a56d4f3cd707148a634c97.zip
chromeos / broadwell / jecht: Make save_chromeos_gpios() jecht-specific
This callback was only required for a single mainboard, and it can easily be moved to mainboard-specific code. This patch removes it from the global namespace and isolates it to the Jecht board. (This makes it easier to separate vboot and chromeos code in a later patch.) Change-Id: I9cf67a75a052d1c86eda0393b6a9fbbe255fedf8 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/18981 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/google/jecht/chromeos.c')
-rw-r--r--src/mainboard/google/jecht/chromeos.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/jecht/chromeos.c b/src/mainboard/google/jecht/chromeos.c
index 5f897f32fca8..f99fd6d4383f 100644
--- a/src/mainboard/google/jecht/chromeos.c
+++ b/src/mainboard/google/jecht/chromeos.c
@@ -22,6 +22,7 @@
#include <ec/google/chromeec/ec.h>
#include <soc/gpio.h>
#include <soc/sata.h>
+#include "onboard.h"
#define GPIO_SPI_WP 58
#define GPIO_REC_MODE 12