[fastboot] report "fastboot" device Some internal tooling expects `fastboot devices` to report "fastboot", but we were reporting "Android Fastboot". Bug: b/361118815 Change-Id: I6818df041d78124b9a0337b6fe996a819a16bc45 Reviewed-on: https://turquoise-internal-review.googlesource.com/c/third_party/u-boot/+/875392 Reviewed-by: Yecheng Zhao <zyecheng@google.com> GitOrigin-RevId: db1a8e12e59407914324370a3e44920f773575eb
diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers/usb/gadget/f_fastboot.c index 92528b8..7ac2768 100644 --- a/drivers/usb/gadget/f_fastboot.c +++ b/drivers/usb/gadget/f_fastboot.c
@@ -143,7 +143,10 @@ /* * static strings, in UTF-8 */ -static const char fastboot_name[] = "Android Fastboot"; + +/* Changed from upstream - some internal tooling requires this to just report + * "fastboot" (b/361118815). */ +static const char fastboot_name[] = "fastboot"; static struct usb_string fastboot_string_defs[] = { [0].s = fastboot_name,