From c1b9e7934c0b100b8ce558669df8b57a03b2271f Mon Sep 17 00:00:00 2001 From: Ruilin Hao Date: Tue, 10 Nov 2015 00:17:09 -0800 Subject: soc/marvell/armada38x: Add gpio driver for armada38x Port gpio driver from uboot to coreboot BUG=chrome-os-partner:47462 TEST=None BRANCH=tot Change-Id: Ib6cfbb6e44cb642c7af937778076a51d405ff4a2 Signed-off-by: Patrick Georgi Original-Commit-Id: 5cf94502faad96147d4a4adb42eb13edb64a6439 Original-Change-Id: Ia2e081a85347e2fc8bb365ca527ee2ee32af86f1 Original-Signed-off-by: Ruilin Hao Original-Reviewed-on: https://chromium-review.googlesource.com/313341 Original-Commit-Ready: Kan Yan Original-Tested-by: Kan Yan Original-Reviewed-by: Furquan Shaikh Original-Reviewed-by: Kan Yan Original-Reviewed-by: Yuji Sasaki Reviewed-on: https://review.coreboot.org/13112 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/soc/marvell/armada38x/include/soc/gpio.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/soc/marvell/armada38x/include/soc/gpio.h (limited to 'src/soc/marvell/armada38x/include') diff --git a/src/soc/marvell/armada38x/include/soc/gpio.h b/src/soc/marvell/armada38x/include/soc/gpio.h new file mode 100644 index 0000000000..e3cd7c0602 --- /dev/null +++ b/src/soc/marvell/armada38x/include/soc/gpio.h @@ -0,0 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright 2015 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. + */ + +#ifndef __SOC_MARVELL_ARMADA38X_GPIO_H_ +#define __SOC_MARVELL_ARMADA38X_GPIO_H_ + +#include + +typedef u32 gpio_t; + +#endif // __SOC_MARVELL_ARMADA38X_GPIO_H__ -- cgit v1.2.3