mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-17 08:43:07 +00:00
b71eec3129
Intel Tunnel Creek GPIO register block is compatible with current ich6-gpio driver, except the offset and content of GPIO block base address register in the LPC PCI configuration space are different. Use u16 instead of u32 to store the 16-bit I/O address of the GPIO registers so that it could support both Ivybridge and Tunnel Creek. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
13 lines
295 B
C
13 lines
295 B
C
/*
|
|
* Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _X86_ARCH_GPIO_H_
|
|
#define _X86_ARCH_GPIO_H_
|
|
|
|
/* Where in config space is the register that points to the GPIO registers? */
|
|
#define PCI_CFG_GPIOBASE 0x44
|
|
|
|
#endif /* _X86_ARCH_GPIO_H_ */
|