From 1d84ef57c2f095e1b7fc63546860b018dfea1889 Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Tue, 28 Oct 2014 19:15:52 -0700 Subject: 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 Original-Commit-Id: 26f564ee10a770d57cb4af0a8ab5a264aaf1a7cd Original-Change-Id: I68c9c3a28fcc747575436b502cb25b31afed8700 Original-Signed-off-by: Vadim Bendebury Original-Reviewed-on: https://chromium-review.googlesource.com/226181 Original-Reviewed-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/9184 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/soc/imgtec/pistachio/include/soc/gpio.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/soc/imgtec/pistachio/include/soc/gpio.h (limited to 'src/soc/imgtec') 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__ -- cgit v1.2.3