All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/5] microblaze: Add gpio.h
@ 2012-06-29  7:37 Michal Simek
  2012-06-29  7:37 ` [U-Boot] [PATCH 2/5] microblaze: Move individual board linker scripts to common script in cpu tree Michal Simek
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Michal Simek @ 2012-06-29  7:37 UTC (permalink / raw)
  To: u-boot

Gpio support is not implemented yet. Adding it because of fdtdec.

Signed-off-by: Michal Simek <monstr@monstr.eu>
---
 arch/microblaze/include/asm/gpio.h |   41 ++++++++++++++++++++++++++++++++++++
 1 files changed, 41 insertions(+), 0 deletions(-)
 create mode 100644 arch/microblaze/include/asm/gpio.h

diff --git a/arch/microblaze/include/asm/gpio.h b/arch/microblaze/include/asm/gpio.h
new file mode 100644
index 0000000..883f4d4
--- /dev/null
+++ b/arch/microblaze/include/asm/gpio.h
@@ -0,0 +1,41 @@
+#ifndef _ASM_MICROBLAZE_GPIO_H_
+#define _ASM_MICROBLAZE_GPIO_H_
+
+#include <asm/io.h>
+
+static inline int gpio_request(unsigned gpio, const char *label)
+{
+	return 0;
+}
+
+static inline int gpio_free(unsigned gpio)
+{
+	return 0;
+}
+
+static inline int gpio_direction_input(unsigned gpio)
+{
+	return 0;
+}
+
+static inline int gpio_direction_output(unsigned gpio, int value)
+{
+	return 0;
+}
+
+static inline int gpio_get_value(unsigned gpio)
+{
+	return 0;
+}
+
+static inline int gpio_set_value(unsigned gpio, int value)
+{
+	return 0;
+}
+
+static inline int gpio_is_valid(int number)
+{
+	return 0;
+}
+#endif
+
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-09-28 15:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-29  7:37 [U-Boot] [PATCH 1/5] microblaze: Add gpio.h Michal Simek
2012-06-29  7:37 ` [U-Boot] [PATCH 2/5] microblaze: Move individual board linker scripts to common script in cpu tree Michal Simek
2012-07-09  8:39   ` Michal Simek
2012-06-29  7:37 ` [U-Boot] [PATCH 3/5] microblaze: Add support for device tree driven board configuration Michal Simek
2012-07-09  8:41   ` Michal Simek
2012-06-29  7:37 ` [U-Boot] [PATCH 4/5] net: emaclite: Support OF initialization Michal Simek
2012-09-28 15:52   ` Joe Hershberger
2012-06-29  7:37 ` [U-Boot] [PATCH 5/5] microblaze: Wire up fdt emaclite initialization Michal Simek
2012-06-29 20:22   ` Stephan Linz
2012-07-03  5:23     ` Michal Simek
2012-07-09  8:38 ` [U-Boot] [PATCH 1/5] microblaze: Add gpio.h Michal Simek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.