]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
5661f08a SA |
2 | /* |
3 | * sdp.h - Serial Download Protocol | |
4 | * | |
5 | * Copyright (C) 2017 Toradex | |
6 | * Author: Stefan Agner <[email protected]> | |
5661f08a SA |
7 | */ |
8 | ||
9 | #ifndef __SDP_H_ | |
10 | #define __SDP_H_ | |
11 | ||
12 | int sdp_init(int controller_index); | |
2c72ead7 FS |
13 | |
14 | #ifdef CONFIG_SPL_BUILD | |
15 | #include <spl.h> | |
16 | ||
17 | int spl_sdp_handle(int controller_index, struct spl_image_info *spl_image); | |
18 | #else | |
19 | int sdp_handle(int controller_index); | |
20 | #endif | |
5661f08a SA |
21 | |
22 | #endif /* __SDP_H_ */ |