summaryrefslogtreecommitdiffstats
path: root/src/nolo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nolo.h')
-rw-r--r--src/nolo.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/nolo.h b/src/nolo.h
index 9eb38a2..6010ff6 100644
--- a/src/nolo.h
+++ b/src/nolo.h
@@ -24,6 +24,32 @@
void nolo_flash_image(struct image * image);
+extern char strbuf[1024];
+
+int boot_board(char *cmdline);
+
+int reboot_board();
+
+int get_status();
+
+int get_usb_mode();
+int set_usb_mode(unsigned int);
+
+int get_rd_mode();
+int set_rd_mode(unsigned short mode);
+
+int get_rd_flags();
+int set_rd_flags(unsigned short flags);
+
+int get_hw_revision(char *str, int len);
+
+int get_root_device();
+int set_root_device(unsigned short);
+
+int get_nolo_version();
+
+int get_sw_version();
+
#define NOLO_GET_STATUS 1
#define NOLO_GET_BOARD_ID 2
#define NOLO_GET_VERSION 3