mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-03 19:33:20 +09:00
![Bin Meng](/assets/img/avatar_default.png)
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>
14 lines
295 B
C
14 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_ */
|