From 26f564ee10a770d57cb4af0a8ab5a264aaf1a7cd Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Tue, 28 Oct 2014 19:15:52 -0700 Subject: [PATCH] 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: I68c9c3a28fcc747575436b502cb25b31afed8700 Signed-off-by: Vadim Bendebury Reviewed-on: https://chromium-review.googlesource.com/226181 Reviewed-by: Aaron Durbin --- 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 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..8cd3e3f3f6 --- /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 Technologies + * + * 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__