blob: ee67ab0a2704ed6080d10f4348c44401633716d7 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Lukasz Majewskic5279372013-10-08 14:30:42 +02002/*
3 * thor.h -- USB THOR Downloader protocol
4 *
5 * Copyright (C) 2013 Samsung Electronics
6 * Lukasz Majewski <l.majewski@samsung.com>
7 *
Lukasz Majewskic5279372013-10-08 14:30:42 +02008 */
9
10#ifndef __THOR_H_
11#define __THOR_H_
12
13#include <linux/usb/composite.h>
14
Marek Szyprowskie47431a2020-12-22 11:32:24 +010015#define THOR_DFU_REINIT_NEEDED 0xFFFFFFFE
16
Lukasz Majewskic5279372013-10-08 14:30:42 +020017int thor_handle(void);
18int thor_init(void);
Lukasz Majewskic5279372013-10-08 14:30:42 +020019int thor_add(struct usb_configuration *c);
Lukasz Majewskic5279372013-10-08 14:30:42 +020020#endif /* __THOR_H_ */