aboutsummaryrefslogtreecommitdiff
path: root/board/coreboot
diff options
context:
space:
mode:
authorBin Meng2014-12-12 21:05:23 +0800
committerSimon Glass2014-12-13 22:32:04 -0700
commit2795573a8c9c62db7b4bcf4bddf54d73b6ae61d3 (patch)
tree584f80b7f7f361592b29291caa65289e998ffbc8 /board/coreboot
parentfe0c33a5acc8cc5400747200802089177bd94b58 (diff)
x86: ich6-gpio: Move setup_pch_gpios() to board support codes
Movie setup_pch_gpios() in the ich6-gpio driver to the board support codes, so that the driver does not need to know any platform specific stuff (ie: include the platform specifc chipset header file). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/coreboot')
-rw-r--r--board/coreboot/coreboot/coreboot.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/coreboot/coreboot/coreboot.c b/board/coreboot/coreboot/coreboot.c
index 0240c345810..b260f9a1636 100644
--- a/board/coreboot/coreboot/coreboot.c
+++ b/board/coreboot/coreboot/coreboot.c
@@ -6,6 +6,7 @@
#include <common.h>
#include <cros_ec.h>
+#include <asm/gpio.h>
int arch_early_init_r(void)
{
@@ -14,3 +15,8 @@ int arch_early_init_r(void)
return 0;
}
+
+void setup_pch_gpios(u32 gpiobase, const struct pch_gpio_map *gpio)
+{
+ return;
+}