mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-15 15:53:26 +08:00
e47431aa5c
Reinitialize dfu_env_entities after flashing the 'SCRIPT' entity to ensure that the potential changes to the 'dfu_alt_info' environment variable are applied. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
21 lines
407 B
C
21 lines
407 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* thor.h -- USB THOR Downloader protocol
|
|
*
|
|
* Copyright (C) 2013 Samsung Electronics
|
|
* Lukasz Majewski <l.majewski@samsung.com>
|
|
*
|
|
*/
|
|
|
|
#ifndef __THOR_H_
|
|
#define __THOR_H_
|
|
|
|
#include <linux/usb/composite.h>
|
|
|
|
#define THOR_DFU_REINIT_NEEDED 0xFFFFFFFE
|
|
|
|
int thor_handle(void);
|
|
int thor_init(void);
|
|
int thor_add(struct usb_configuration *c);
|
|
#endif /* __THOR_H_ */
|