summaryrefslogtreecommitdiffstats
path: root/u-boot/board/goldelico/gta04/status.h
diff options
context:
space:
mode:
Diffstat (limited to 'u-boot/board/goldelico/gta04/status.h')
-rw-r--r--u-boot/board/goldelico/gta04/status.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/u-boot/board/goldelico/gta04/status.h b/u-boot/board/goldelico/gta04/status.h
new file mode 100644
index 0000000..5bed2e2
--- /dev/null
+++ b/u-boot/board/goldelico/gta04/status.h
@@ -0,0 +1,12 @@
+#ifndef _STATUS_H
+#define _STATUS_H
+
+int status_init (void);
+
+void status_set_status (int value);
+int status_get_buttons (void);
+
+int status_set_flash (int mode); // 0: off, 1: torch, 2: flash
+int status_set_vibra (int value); // 0: off, >0 / <0 determines polarity . -255 ... +255
+
+#endif