diff options
author | Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> | 2015-04-16 10:38:34 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-09-07 13:41:03 +0200 |
commit | 41d237de6acbd5d3a8fac106dbea2d00f044c4f9 (patch) | |
tree | 804e229102b9c80776dadb0709d91452ebd559e8 /drivers/usb/gadget/f_thor.h | |
parent | 1bf73bdeae43f253f432489f6fe71e3bfa763706 (diff) |
f_thor: Dont perform reset at the end of thor
Dont perform reset at the end of thor download
if configured to do reset off.
Reset may not be required in all cases and hence
provided an option to do so.
The case would be to download the images to DDR instead
of flash device.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/usb/gadget/f_thor.h')
-rw-r--r-- | drivers/usb/gadget/f_thor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/gadget/f_thor.h b/drivers/usb/gadget/f_thor.h index 833a9d24ae..83412851dd 100644 --- a/drivers/usb/gadget/f_thor.h +++ b/drivers/usb/gadget/f_thor.h @@ -121,4 +121,7 @@ struct f_thor { #define F_NAME_BUF_SIZE 32 #define THOR_PACKET_SIZE SZ_1M /* 1 MiB */ #define THOR_STORE_UNIT_SIZE SZ_32M /* 32 MiB */ +#ifdef CONFIG_THOR_RESET_OFF +#define RESET_DONE 0xFFFFFFFF +#endif #endif /* _USB_THOR_H_ */ |