[U-Boot] [PATCH v2 0/4] add dfu support for at91 sam9260 based boards

Heiko Schocher hs at denx.de
Mon Aug 10 08:14:23 CEST 2015


add dfu supprt for at91 sam9260 based boards. The USB
gadget driver is ported from linux:

b2ba27a5c56ff: usb: gadget: at91_udc: move prepare clk into process context

it drops a lot of checkpatch warnings/errors:

checkpatch.pl found 12 error(s), 31 warning(s), 43 checks(s)

but for further updates I did not fix them.
The errors are all from this sort:

error: drivers/usb/gadget/at91_udc.c,87: space prohibited before open square bracket '['

a lot of "line over 80 characters" warnings ...

Changes in v2:
- add comments from Lukasz Majewski
  - seperate usb gadget driver port from linux into 2 commits
    - first patch original from linux (with complete commit message)
    - second adds U-Boot changes without "#ifdef __UBOOT__"
- new in version 2, contains U-Boot changes
- rebase to bd48c0617b5c7212e5bf22169e716da878842da4
- fix changes introduced through commit:
  01acd6abbdd5: usb: USB download gadget and functions config options coherent naming
- add comments from Lukasz Majewski <l.majewski at samsung.com>
  - use SZ_X defines

Heiko Schocher (4):
  ARM: at91: add cpu.h
  usb: gadget: at91_udc: port linux driver at91_udc
  usb: gadget: at91_udc: add at91_udc into U-Boot
  at91, taurus, smartweb: add dfu support

 arch/arm/mach-at91/include/mach/cpu.h |  149 +++
 board/siemens/smartweb/smartweb.c     |   29 +
 board/siemens/taurus/taurus.c         |   27 +
 drivers/usb/gadget/Makefile           |    1 +
 drivers/usb/gadget/at91_udc.c         | 1731 +++++++++++++++++++++++++++++++++
 drivers/usb/gadget/at91_udc.h         |  166 ++++
 include/configs/smartweb.h            |   53 +-
 include/configs/taurus.h              |   43 +-
 include/linux/usb/at91_udc.h          |   20 +
 9 files changed, 2198 insertions(+), 21 deletions(-)
 create mode 100644 arch/arm/mach-at91/include/mach/cpu.h
 create mode 100644 drivers/usb/gadget/at91_udc.c
 create mode 100644 drivers/usb/gadget/at91_udc.h
 create mode 100644 include/linux/usb/at91_udc.h

-- 
2.1.0



More information about the U-Boot mailing list