summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2012-10-20 11:44:34 +0000
committerSimon Glass <sjg@chromium.org>2012-12-06 14:30:38 -0800
commit55ae10f8dbdf306e210240937ee4d558c8590447 (patch)
tree1ff8e33ea335da951a6e81d59518f71f27238d5b /arch/x86
parent468ebf190a737dd1021ca15ff350ceee2001372e (diff)
downloadu-boot-imx-55ae10f8dbdf306e210240937ee4d558c8590447.zip
u-boot-imx-55ae10f8dbdf306e210240937ee4d558c8590447.tar.gz
u-boot-imx-55ae10f8dbdf306e210240937ee4d558c8590447.tar.bz2
x86: gpio: Add GPIO driver for Intel ICH6 and later.
Implement <asm-generic/gpio.h> functions for Intel ICH6 and later. Only GPIOs 0-31 are handled by this code. Signed-off-by: Bill Richardson <wfrichar@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/include/asm/gpio.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/x86/include/asm/gpio.h b/arch/x86/include/asm/gpio.h
new file mode 100644
index 0000000..0a37a85
--- /dev/null
+++ b/arch/x86/include/asm/gpio.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright (c) 2012, Google Inc. All rights reserved.
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * 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; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * 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., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+#ifndef _X86_GPIO_H_
+#define _X86_GPIO_H_
+
+#include <asm-generic/gpio.h>
+
+#endif /* _X86_GPIO_H_ */