Newer
Older
barebox / include / ratp_bb.h
@Aleksander Morgado Aleksander Morgado on 30 Jan 2018 360 bytes ratp: move barebox-specific command to ratp_bb.h
#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);
void barebox_ratp_command_run(void);
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 */