xref: /rk3399_rockchip-uboot/include/net/fastboot.h (revision aba554cc34bdfc92eb13ef852a73d6bd82329f37)
1965eda41SJocelyn Bohr /*
2965eda41SJocelyn Bohr * Copyright (C) 2016 The Android Open Source Project
3965eda41SJocelyn Bohr *
4965eda41SJocelyn Bohr * SPDX-License-Identifier: BSD-2-Clause
5965eda41SJocelyn Bohr */
6965eda41SJocelyn Bohr 
7965eda41SJocelyn Bohr #ifndef __NET_FASTBOOT_H__
8965eda41SJocelyn Bohr #define __NET_FASTBOOT_H__
9965eda41SJocelyn Bohr 
10965eda41SJocelyn Bohr /**********************************************************************/
11965eda41SJocelyn Bohr /*
12965eda41SJocelyn Bohr  *	Global functions and variables.
13965eda41SJocelyn Bohr  */
14965eda41SJocelyn Bohr 
15965eda41SJocelyn Bohr /**
16965eda41SJocelyn Bohr  * Wait for incoming fastboot comands.
17965eda41SJocelyn Bohr  */
18965eda41SJocelyn Bohr void fastboot_start_server(void);
19*aba554ccSJocelyn Bohr /**
20*aba554ccSJocelyn Bohr  * Send an INFO packet during long commands
21*aba554ccSJocelyn Bohr  *
22*aba554ccSJocelyn Bohr  * @param msg: String describing the reason for waiting
23*aba554ccSJocelyn Bohr  */
24*aba554ccSJocelyn Bohr void fastboot_send_info(const char*);
25965eda41SJocelyn Bohr 
26965eda41SJocelyn Bohr /**********************************************************************/
27965eda41SJocelyn Bohr 
28965eda41SJocelyn Bohr #endif /* __NET_FASTBOOT_H__ */
29