blob: 886cb852170ea4a475c5fd3b40af2880c01c03a8 [file] [log] [blame]
b.liuced8dd02024-06-28 13:28:29 +08001/**
2 * @file
3 * @author Jinhua Huang <jinhuahuang@asrmicro.com>
4 * @version 1.0
5 *
6 * @section LICENSE
7 * Copyright (C) 2021, ASR microelectronics, All rights reserved.
8 *
9 * @section DESCRIPTION
10 * Aboot tiny downloader for Jacana with firmware and pvt
11 *
12 */
13#ifndef __JACANA_DOWNLOAD_H__
14#define __JACANA_DOWNLOAD_H__
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20/**
21 * Aboot tiny downloader for jacana
22 *
23 * @param dev uart device name
24 * @param baud uart baud rate
25 *
26 * @return 0 for success, otherwise failed
27 *
28 */
29int jacana_aboot_tiny_download(const char *dev, int baud);
30
31/**
32 * Aboot tiny force stop for jacana
33 *
34 * @return 0 for success, otherwise failed
35 */
36int jacana_aboot_tiny_force_stop(void);
37
38#ifdef __cplusplus
39} /* extern "C" */
40#endif
41
42#endif /* __JACANA_DOWNLOAD_H__ */