summaryrefslogtreecommitdiffstats
path: root/qemu/roms/u-boot/include/led-display.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/u-boot/include/led-display.h')
-rw-r--r--qemu/roms/u-boot/include/led-display.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/qemu/roms/u-boot/include/led-display.h b/qemu/roms/u-boot/include/led-display.h
new file mode 100644
index 000000000..ffc262dc9
--- /dev/null
+++ b/qemu/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