mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 17:58:23 +00: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>
20 lines
407 B
C
20 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_ */
|