1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-11-02 19:36:22 +01:00

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>
This commit is contained in:
Bin Meng
2014-12-12 21:05:23 +08:00
committed by Simon Glass
parent fe0c33a5ac
commit 2795573a8c
6 changed files with 55 additions and 51 deletions

View File

@@ -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;
}