gadget: f_fastboot: New Kconfig option USB_GADGET_FASTBOOT_CMD_OEM
Most fastboot commands are suitable for a secure boot environment as
they only allow to download/flash/erase to files/partitions which were
explicitly specified in the usbgadget command.

The "oem" group of commands allows execution of arbitrary barebox
commands. This needs to be disabled for secure boot devices.

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ed5d14a commit ba08e336c85196affabb5983768c6b5996c6bb00
@Christian Eggers Christian Eggers authored on 21 Feb 2020
Sascha Hauer committed on 25 Feb 2020
Showing 8 changed files
View
arch/arm/configs/imx23_defconfig
View
arch/arm/configs/imx28_defconfig
View
arch/arm/configs/imx_v7_defconfig
View
arch/arm/configs/kindle-mx50_defconfig
View
arch/arm/configs/omap_defconfig
View
arch/arm/configs/zii_vf610_dev_defconfig
View
drivers/usb/gadget/Kconfig
View
drivers/usb/gadget/f_fastboot.c