fastboot: split generic code from USB gadget
The fastboot specification describes other protocols beyond USB. Allow
these to reuse the generic parts of the existing fastboot code when they
are implemented.

Most of the changes in common/fastboot.c are due to the renaming of struct
f_fastboot *f_fb to struct fastboot *fb.

Signed-off-by: Edmund Henniges <eh@emlix.com>
Signed-off-by: Daniel Glöckner <dg@emlix.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 754f2e0 commit 2879373370eb3685cd6622f5d800e9f72ec81df1
@Edmund Henniges Edmund Henniges authored on 14 May 2020
Sascha Hauer committed on 20 May 2020
Showing 9 changed files
View
common/Kconfig
View
common/Makefile
View
common/fastboot.c 0 → 100644
View
drivers/usb/gadget/Kconfig
View
drivers/usb/gadget/f_fastboot.c
Too large (Show diff)
View
drivers/usb/gadget/multi.c
View
include/fastboot.h 0 → 100644
View
include/usb/fastboot.h
View
include/usb/gadget-multi.h