Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Bill Richardson | eece432 | 2012-10-20 11:44:34 +0000 | [diff] [blame] | 2 | /* |
3 | * Copyright (c) 2012, Google Inc. All rights reserved. | ||||
Bill Richardson | eece432 | 2012-10-20 11:44:34 +0000 | [diff] [blame] | 4 | */ |
5 | |||||
6 | #ifndef _X86_GPIO_H_ | ||||
7 | #define _X86_GPIO_H_ | ||||
8 | |||||
Bill Richardson | eece432 | 2012-10-20 11:44:34 +0000 | [diff] [blame] | 9 | #include <asm-generic/gpio.h> |
10 | |||||
Simon Glass | b75b15b | 2020-12-03 16:55:23 -0700 | [diff] [blame] | 11 | struct ich6_bank_plat { |
Bin Meng | 9b64969 | 2014-12-17 15:50:38 +0800 | [diff] [blame] | 12 | uint16_t base_addr; |
Simon Glass | 60af017 | 2014-11-12 22:42:24 -0700 | [diff] [blame] | 13 | const char *bank_name; |
Simon Glass | ec5c786 | 2016-03-06 19:28:13 -0700 | [diff] [blame] | 14 | int offset; |
Simon Glass | 60af017 | 2014-11-12 22:42:24 -0700 | [diff] [blame] | 15 | }; |
16 | |||||
Bill Richardson | eece432 | 2012-10-20 11:44:34 +0000 | [diff] [blame] | 17 | #endif /* _X86_GPIO_H_ */ |