Blame view

include/sdp.h 432 Bytes
83d290c56   Tom Rini   SPDX: Convert all...
1
  /* SPDX-License-Identifier: GPL-2.0+ */
5661f08a7   Stefan Agner   usb: gadget: add ...
2
3
4
5
6
  /*
   * sdp.h - Serial Download Protocol
   *
   * Copyright (C) 2017 Toradex
   * Author: Stefan Agner <stefan.agner@toradex.com>
5661f08a7   Stefan Agner   usb: gadget: add ...
7
8
9
10
11
12
   */
  
  #ifndef __SDP_H_
  #define __SDP_H_
  
  int sdp_init(int controller_index);
2c72ead73   Frieder Schrempf   usb: gadget: f_sd...
13
14
15
16
17
18
19
20
  
  #ifdef CONFIG_SPL_BUILD
  #include <spl.h>
  
  int spl_sdp_handle(int controller_index, struct spl_image_info *spl_image);
  #else
  int sdp_handle(int controller_index);
  #endif
5661f08a7   Stefan Agner   usb: gadget: add ...
21
22
  
  #endif /* __SDP_H_ */