* import of the 'set-rd-flags+cleanups' patch from Robert Schuster
adds support for setting and clearing the rd flags (no-retu-watchdog, serial-console and the like). The interface to it is a bit cryptic (construct your own hex number) but it works like like 'chmod'.
This commit is contained in:
1 parent
60f2337927
commit
5b5425e0d0
4 files changed
+149
-17
No files matched your search
+28
@@ -0,0 +1,28 @@
|
||||
#ifndef QUERY_H_
|
||||
#define QUERY_H_
|
||||
|
||||
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();
|
||||
|
||||
int get_root_device();
|
||||
int set_root_device(unsigned short);
|
||||
|
||||
int get_nolo_version();
|
||||
|
||||
int get_sw_version();
|
||||
|
||||
#endif /*QUERY_H_*/
|
||||
Reference in new issue
Block a user