summaryrefslogtreecommitdiffstats
path: root/src/roms/u-boot/include/led-display.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/roms/u-boot/include/led-display.h')
-rw-r--r--src/roms/u-boot/include/led-display.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/roms/u-boot/include/led-display.h b/src/roms/u-boot/include/led-display.h
new file mode 100644
index 0000000..ffc262d
--- /dev/null
+++ b/src/roms/u-boot/include/led-display.h
@@ -0,0 +1,19 @@
+/*
+ * (C) Copyright 2005-2010
+ * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+ *
+ * (C) Copyright 2010
+ * Sergei Poselenov, Emcraft Systems, sposelenov@emcraft.com.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+#ifndef _led_display_h_
+#define _led_display_h_
+
+/* Display Commands */
+#define DISPLAY_CLEAR 0x1 /* Clear the display */
+#define DISPLAY_HOME 0x2 /* Set cursor at home position */
+
+void display_set(int cmd);
+int display_putc(char c);
+#endif
OpenPOWER on IntegriCloud