Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Lukasz Majewski | 61e5493 | 2013-10-08 14:30:42 +0200 | [diff] [blame] | 2 | /* |
| 3 | * thor.h -- USB THOR Downloader protocol |
| 4 | * |
| 5 | * Copyright (C) 2013 Samsung Electronics |
| 6 | * Lukasz Majewski <l.majewski@samsung.com> |
| 7 | * |
Lukasz Majewski | 61e5493 | 2013-10-08 14:30:42 +0200 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | #ifndef __THOR_H_ |
| 11 | #define __THOR_H_ |
| 12 | |
| 13 | #include <linux/usb/composite.h> |
| 14 | |
Marek Szyprowski | ee9b855 | 2020-12-22 11:32:24 +0100 | [diff] [blame] | 15 | #define THOR_DFU_REINIT_NEEDED 0xFFFFFFFE |
| 16 | |
Marek Vasut | 8bfcb34 | 2023-09-01 11:49:59 +0200 | [diff] [blame] | 17 | int thor_handle(struct udevice *udc); |
| 18 | int thor_init(struct udevice *udc); |
Lukasz Majewski | 61e5493 | 2013-10-08 14:30:42 +0200 | [diff] [blame] | 19 | int thor_add(struct usb_configuration *c); |
Lukasz Majewski | 61e5493 | 2013-10-08 14:30:42 +0200 | [diff] [blame] | 20 | #endif /* __THOR_H_ */ |