summaryrefslogtreecommitdiffstats
path: root/src/nolo.h
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-08-09 21:07:30 +0200
committerPali Rohár <pali.rohar@gmail.com>2012-08-09 21:07:30 +0200
commit2002ba27a264d16b09f82c1bb197f576f051102e (patch)
treedd6535f8cd24d170a216dc24a87fb2036ab25404 /src/nolo.h
parent01a7da1d95fc37c2c28d94ef7519117a7f7f3903 (diff)
download0xFFFF-2002ba27a264d16b09f82c1bb197f576f051102e.tar.bz2
Move query.c into nolo.c
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