mirror of
https://xff.cz/git/u-boot/
synced 2025-09-07 11:42:13 +02:00
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>
11 lines
167 B
C
11 lines
167 B
C
/*
|
|
* Copyright (c) 2014, Google Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _X86_ARCH_GPIO_H_
|
|
#define _X86_ARCH_GPIO_H_
|
|
|
|
#endif /* _X86_ARCH_GPIO_H_ */
|