]> git.ipfire.org Git - people/ms/u-boot.git/blob - include/thor.h
ARM: versatile: pass console setting to the kernel
[people/ms/u-boot.git] / include / thor.h
1 /*
2 * thor.h -- USB THOR Downloader protocol
3 *
4 * Copyright (C) 2013 Samsung Electronics
5 * Lukasz Majewski <l.majewski@samsung.com>
6 *
7 * SPDX-License-Identifier: GPL-2.0+
8 *
9 */
10
11 #ifndef __THOR_H_
12 #define __THOR_H_
13
14 #include <linux/usb/composite.h>
15
16 int thor_handle(void);
17 int thor_init(void);
18
19 #ifdef CONFIG_THOR_FUNCTION
20 int thor_add(struct usb_configuration *c);
21 #else
22 int thor_add(struct usb_configuration *c)
23 {
24 return 0;
25 }
26 #endif
27 #endif /* __THOR_H_ */