spl: USB Gadget cleanup
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 0 repliesNew
- v33 patches 0 repliesSuperseded
- v2 posting 2/20 of 3 patches 0 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 1/2 | 3 patches | 0 replies | Superseded | |
| v1 | 3 patches | 0 replies | Superseded |
Changes in v4 from the cover letter
- Use correct config CONFIG_SPL_RAM_DEVICE to descide whether to add BOOT_DEVICE_RAM to linker list.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | spl: add RAM boot device only if it is actually definedcommon/ | +2 | 2 replies | |
| 2/3 | spl: dfu: move DFU Kconfig to SPL KconfigKconfig common/ drivers/ +3 more | +35 | 1 reply | |
| 3/3 | spl: add USB Gadget config optioncommon/ configs/ drivers/ +2 more | +27 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Lukasz Majewski | Simon Glass | Ravi Babu |
|---|---|---|---|
| 1/3 | A-b | ||
| 2/3 | A-b | R-b | |
| 3/3 | A-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [U-Boot] [PATCH v4 0/3] spl: USB Gadget cleanup
From: Stefan Agner <[email protected]>
This patchset cleans up the SPL USB Gadget Kconfig and Makfile. The first two patches are actual fixes and we might consider to add these two 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 using buildman for all boards on powerpc mips and arm. No new errors or warnings:
Building 4 commits for 1072 boards (8 threads, 1 job per thread)
4044 0 244 /4288 P1022DS_NAND
This patchset is probably most interesting for am335x_evm_usbspl_defconfig (CONFIG_SPL_USBETH_SUPPORT) And the board with which SPL DFU support has been introduced dra7xx_evm_defconfig (CONFIG_SPL_DFU_SUPPORT, not set by default)
A follow-up patchset which moves RAM boot support into a separate file is in preparation.
--
Stefan
Changes in v4:
- Use correct config CONFIG_SPL_RAM_DEVICE to descide whether to add BOOT_DEVICE_RAM to linker list.
Changes in v3:
- Fix depends on SPL_USB_GADGET_SUPPORT and use if statement
Changes in v2:
- Use CONFIG_SPL_RAM_SUPPORT to descide whether to compile the function in first place.
- Leave DWC3 config in top level SPL Makefile (as U-Boot does)
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 | 57 ++++++++++++++++++++++++++++++------- common/spl/spl.c | 2 ++ configs/am335x_evm_usbspl_defconfig | 1 + drivers/Makefile | 4 ++- drivers/usb/gadget/Makefile | 9 ++++-- include/configs/dra7xx_evm.h | 1 - scripts/Makefile.spl | 5 +--- 8 files changed, 60 insertions(+), 46 deletions(-)
Signature · 1 line
2.10.2