diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2014-10-28 19:15:52 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-04-02 22:13:18 +0200 |
commit | 1d84ef57c2f095e1b7fc63546860b018dfea1889 (patch) | |
tree | c88f9b0f77ffc1038e1637aa1686bf19906037a1 /src | |
parent | c3e7c4e7b43ebba54a141896b74572eaa9e75abf (diff) |
pistachio: add gpio type definition
This is necessary to support generic gpio interface in src/lib. This
file will be later populated with more GPIO definitions.
BRANCH=none
BUG=chrome-os-partner:31438
TEST=none
Change-Id: I3fa93f1b3b1ce99d921bbfb378b3f7ae4eb652c2
Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
Original-Commit-Id: 26f564ee10a770d57cb4af0a8ab5a264aaf1a7cd
Original-Change-Id: I68c9c3a28fcc747575436b502cb25b31afed8700
Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/226181
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/9184
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/imgtec/pistachio/include/soc/gpio.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/soc/imgtec/pistachio/include/soc/gpio.h b/src/soc/imgtec/pistachio/include/soc/gpio.h new file mode 100644 index 0000000000..f6f1499e71 --- /dev/null +++ b/src/soc/imgtec/pistachio/include/soc/gpio.h @@ -0,0 +1,25 @@ +/* + * This file is part of the coreboot project. + * + * Copyright 2014 Google Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef __SOC_IMGTECH_PISTACHIO_GPIO_H__ +#define __SOC_IMGTECH_PISTACHIO_GPIO_H__ + +typedef unsigned gpio_t; + +#endif // __SOC_IMGTECH_PISTACHIO_GPIO_H__ |