mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
fastboot: Extract common definitions from USB fastboot
Move FASTBOOT_VERSION to include/fastboot.h so when we merge the UDP code we only have one definition. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
committed by
Marek Vasut
parent
8a65bd6372
commit
1a28d38c39
@@ -27,8 +27,6 @@
|
||||
#include <fb_nand.h>
|
||||
#endif
|
||||
|
||||
#define FASTBOOT_VERSION "0.4"
|
||||
|
||||
#define FASTBOOT_INTERFACE_CLASS 0xff
|
||||
#define FASTBOOT_INTERFACE_SUB_CLASS 0x42
|
||||
#define FASTBOOT_INTERFACE_PROTOCOL 0x03
|
||||
|
@@ -12,6 +12,8 @@
|
||||
#ifndef _FASTBOOT_H_
|
||||
#define _FASTBOOT_H_
|
||||
|
||||
#define FASTBOOT_VERSION "0.4"
|
||||
|
||||
/* The 64 defined bytes plus \0 */
|
||||
#define FASTBOOT_RESPONSE_LEN (64 + 1)
|
||||
|
||||
|
Reference in New Issue
Block a user