diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2012-08-09 21:07:30 +0200 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2012-08-09 21:07:30 +0200 |
commit | 2002ba27a264d16b09f82c1bb197f576f051102e (patch) | |
tree | dd6535f8cd24d170a216dc24a87fb2036ab25404 /src/nolo.h | |
parent | 01a7da1d95fc37c2c28d94ef7519117a7f7f3903 (diff) | |
download | 0xFFFF-2002ba27a264d16b09f82c1bb197f576f051102e.tar.bz2 |
Move query.c into nolo.c
Diffstat (limited to 'src/nolo.h')
-rw-r--r-- | src/nolo.h | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -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 |