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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user