summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/arch-coreboot
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-11-12 22:42:24 -0700
committerSimon Glass <sjg@chromium.org>2014-11-21 07:34:14 +0100
commit1b4f25ff8e6967f14494c5a0d173758a7a3ac279 (patch)
treea39976e85bb51d2ffb80a5480bd957ed68bc2b64 /arch/x86/include/asm/arch-coreboot
parent8e0df066ffc40fde4cf43014114f8e472b8b9bd6 (diff)
downloadu-boot-imx-1b4f25ff8e6967f14494c5a0d173758a7a3ac279.zip
u-boot-imx-1b4f25ff8e6967f14494c5a0d173758a7a3ac279.tar.gz
u-boot-imx-1b4f25ff8e6967f14494c5a0d173758a7a3ac279.tar.bz2
x86: ivybridge: Add support for early GPIO init
When not relying on Coreboot for GPIO init the GPIOs must be set up correctly. This is currently done statically through a rather ugly method. As the GPIOs are figured out they can be moved to the device tree and set up as needed rather than all at the start. In this implementation, board files should call ich_gpio_set_gpio_map() before the GPIO driver is used in order to provide the GPIO information. We use the early PCI interface so that this driver can now be used before relocation. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/arch-coreboot')
-rw-r--r--arch/x86/include/asm/arch-coreboot/gpio.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/include/asm/arch-coreboot/gpio.h b/arch/x86/include/asm/arch-coreboot/gpio.h
index 3ec1816..4951a8c 100644
--- a/arch/x86/include/asm/arch-coreboot/gpio.h
+++ b/arch/x86/include/asm/arch-coreboot/gpio.h
@@ -7,9 +7,4 @@
#ifndef _X86_ARCH_GPIO_H_
#define _X86_ARCH_GPIO_H_
-struct ich6_bank_platdata {
- uint32_t base_addr;
- const char *bank_name;
-};
-
#endif /* _X86_ARCH_GPIO_H_ */