All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] usb:gadget: Linux USB Gadget framework
@ 2011-07-05 12:53 Lukasz Majewski
  2011-07-05 12:53 ` [U-Boot] [PATCH 1/2] " Lukasz Majewski
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Lukasz Majewski @ 2011-07-05 12:53 UTC (permalink / raw)
  To: u-boot

Included commits provide Linux USB gadget support for U-boot. 
The USB Gadget infrastructure is running on top of the Samsung's
UDC OTG controller. The code has been tested on the GONI (S5PC110)
reference target.

Files:
drivers/usb/gadget/file_storage.c
drivers/usb/gadget/storage_common.c

Aren't passing the checkpatch.pl script check, however they were 
taken from Linux kernel. On purpose this code hasn't been corrected, to
facilitate further code porting from Linux to U-boot (or in opposite 
direction)

v1:
- Linux USB Gadget support for Samsung targets (tested on GONI)
- Simple USB Mass Storage (UMS) Gadget implementation to proof the
  concept of running USB Gadgets in U-boot.
- The new ums command


It is important to emphase, that now USB Gadget framework can handle one 
gadget. 


Lukasz Majewski (2):
  usb:gadget: Linux USB Gadget framework
  usb:gadget: USB Mass Storage Gadget support.

 arch/arm/include/asm/arch-s5pc1xx/hs_otg.h   |   32 +
 arch/arm/include/asm/arch-s5pc1xx/regs-otg.h |  309 +++
 board/samsung/goni/goni.c                    |  139 +
 common/Makefile                              |    1 +
 common/cmd_usb_mass_storage.c                |   67 +
 drivers/usb/gadget/Makefile                  |   11 +-
 drivers/usb/gadget/file_storage.c            | 3533 ++++++++++++++++++++++++++
 drivers/usb/gadget/s3c_udc_otg.c             |  878 +++++++
 drivers/usb/gadget/s3c_udc_otg_xfer_dma.c    | 1406 ++++++++++
 drivers/usb/gadget/storage_common.c          |  762 ++++++
 include/configs/s5p_goni.h                   |   13 +
 include/usb/lin_gadget_compat.h              |   69 +
 include/usb/s3c_udc.h                        |  160 ++
 include/usb_mass_storage.h                   |   36 +
 14 files changed, 7413 insertions(+), 3 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-s5pc1xx/hs_otg.h
 create mode 100644 arch/arm/include/asm/arch-s5pc1xx/regs-otg.h
 create mode 100644 common/cmd_usb_mass_storage.c
 create mode 100644 drivers/usb/gadget/file_storage.c
 create mode 100644 drivers/usb/gadget/s3c_udc_otg.c
 create mode 100644 drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
 create mode 100644 drivers/usb/gadget/storage_common.c
 create mode 100644 include/usb/lin_gadget_compat.h
 create mode 100644 include/usb/s3c_udc.h
 create mode 100644 include/usb_mass_storage.h

-- 
1.7.2.3

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-07-11 14:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-05 12:53 [U-Boot] [PATCH 0/2] usb:gadget: Linux USB Gadget framework Lukasz Majewski
2011-07-05 12:53 ` [U-Boot] [PATCH 1/2] " Lukasz Majewski
2011-07-05 12:53 ` [U-Boot] [PATCH 2/2] usb:gadget: USB Mass Storage Gadget support Lukasz Majewski
2011-07-05 14:08 ` [U-Boot] [PATCH 0/2] usb:gadget: Linux USB Gadget framework Wolfgang Denk
2011-07-05 14:16 ` 馬克泡
     [not found]   ` <20110711153117.78a90152@lmajewski.digital.local>
2011-07-11 14:12     ` 馬克泡
2011-07-05 18:46 ` Remy Bohmer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.