diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2018-01-28 22:30:23 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-01-30 07:58:31 +0100 |
commit | f0f40101be54f25c8ed34c6f92d6842d90950ecd (patch) | |
tree | 2f4f334035a75d4cc3a14a2c5d36be6a90aa7f5a /include/ratp_bb.h | |
parent | 7dd2ee1248bfd9d86c3f9b4ed3812c83229e7b3d (diff) | |
download | barebox-f0f40101be54f25c8ed34c6f92d6842d90950ecd.tar.gz barebox-f0f40101be54f25c8ed34c6f92d6842d90950ecd.tar.xz |
ratp: move barebox-specific command to ratp_bb.h
The ratp_run_command() is really an implementation detail of the
barebox ratp 'command' operation support. Move it to the barebox
specific header and rename it with the correct prefix.
Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/ratp_bb.h')
-rw-r--r-- | include/ratp_bb.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/ratp_bb.h b/include/ratp_bb.h index 52ecaff374..70fd58a678 100644 --- a/include/ratp_bb.h +++ b/include/ratp_bb.h @@ -8,8 +8,9 @@ struct ratp_bb_pkt { 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); +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 */ |