summaryrefslogtreecommitdiff
path: root/include/fastboot.h
diff options
context:
space:
mode:
authorAlex Kiernan <alex.kiernan@gmail.com>2018-05-29 15:30:47 +0000
committerMarek Vasut <marex@denx.de>2018-05-30 11:59:21 +0200
commit1a28d38c398ede6e077af01bdab49cffa1bdf194 (patch)
tree9105ce2fbdd019b2e82befeed59971efae6a84a9 /include/fastboot.h
parent8a65bd63720b813d8082a2c14bdde5ade4673d87 (diff)
downloadu-boot-1a28d38c398ede6e077af01bdab49cffa1bdf194.tar.gz
u-boot-1a28d38c398ede6e077af01bdab49cffa1bdf194.tar.bz2
u-boot-1a28d38c398ede6e077af01bdab49cffa1bdf194.zip
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>
Diffstat (limited to 'include/fastboot.h')
-rw-r--r--include/fastboot.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fastboot.h b/include/fastboot.h
index 816e71b4d0..bf3d9e2f67 100644
--- a/include/fastboot.h
+++ b/include/fastboot.h
@@ -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)