
From: Stefan Agner stefan.agner@toradex.com
This cleans up the SPL USB Gadget Kconfig and Makfile a bit. The first two patches are actual fixes and we might consider to add them for the v2016.11 release. The third one adds a new config option for cleaner structure. I plan to add another USB function with SPL support which is the reason I looked into this...
Build tested mainly with dra7xx_evm_defconfig (for CONFIG_SPL_DFU_SUPPORT) and am335x_evm_usbspl_defconfig (for CONFIG_SPL_USBETH_SUPPORT)
-- Stefan
Stefan Agner (3): spl: add RAM boot device only if it is actually defined spl: dfu: move DFU Kconfig to SPL Kconfig spl: add USB Gadget config option
Kconfig | 27 ------------------ common/spl/Kconfig | 55 +++++++++++++++++++++++++++++-------- common/spl/spl.c | 2 ++ configs/am335x_evm_usbspl_defconfig | 1 + drivers/Makefile | 5 +++- drivers/usb/gadget/Makefile | 9 ++++-- include/configs/dra7xx_evm.h | 1 - scripts/Makefile.spl | 4 --- 8 files changed, 58 insertions(+), 46 deletions(-)