diff options
Diffstat (limited to 'include/ratp_bb.h')
-rw-r--r-- | include/ratp_bb.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/ratp_bb.h b/include/ratp_bb.h new file mode 100644 index 0000000000..52ecaff374 --- /dev/null +++ b/include/ratp_bb.h @@ -0,0 +1,15 @@ +#ifndef __RATP_BB_H +#define __RATP_BB_H + +struct ratp_bb_pkt { + struct list_head list; + + unsigned int len; + uint8_t data[]; +}; + +int barebox_ratp(struct console_device *cdev); +int barebox_ratp_fs_call(struct ratp_bb_pkt *tx, struct ratp_bb_pkt **rx); +int barebox_ratp_fs_mount(const char *path); + +#endif /* __RATP_BB_H */ |