Changeset 9121570 in rtems-libbsd for libbsd.py


Ignore:
Timestamp:
Jul 13, 2017, 2:24:05 AM (2 years ago)
Author:
Sichen Zhao <1473996754@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, 4a77611a223ea883fb548679b516d326a020d447
Children:
658f9b8
Parents:
bd3c01a
git-author:
Sichen Zhao <1473996754@…> (07/13/17 02:24:05)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/13/17 05:30:06)
Message:

Port am335x usb driver to RTEMS.

Add FDT and umass support for am335x USB driver.

Now RTEMS can mount and open USB disk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libbsd.py

    rbd3c01a r9121570  
    885885            'sys/dev/usb/storage/urio.c',
    886886            'sys/dev/usb/storage/ustorage_fs.c',
     887        ],
     888        mm.generator['source']()
     889    )
     890    return mod
     891
     892#
     893# BBB USB
     894#
     895def dev_usb_controller_bbb(mm):
     896    mod = builder.Module('dev_usb_controller_bbb')
     897    mod.addDependency(mm['dev_usb'])
     898    mod.addKernelSpaceHeaderFiles(
     899        [
     900            'sys/arm/ti/ti_cpuid.h',
     901            'sys/arm/ti/ti_prcm.h',
     902            'sys/arm/ti/ti_scm.h',
     903            'sys/arm/ti/tivar.h',
     904            'sys/arm/ti/am335x/am335x_scm.h',
     905            'sys/dev/usb/controller/musb_otg.h',
     906            'sys/sys/timeet.h',
     907            'sys/sys/watchdog.h',
     908            'sys/dev/fdt/fdt_pinctrl.h',
     909
     910        ]
     911    )
     912    mod.addKernelSpaceSourceFiles(
     913        [
     914            'sys/arm/ti/ti_scm.c',
     915            'sys/arm/ti/am335x/am335x_prcm.c',
     916            'sys/arm/ti/am335x/am335x_usbss.c',
     917            'sys/arm/ti/ti_prcm.c',
     918            'sys/arm/ti/am335x/am335x_musb.c',
     919            'sys/dev/usb/controller/musb_otg.c',
    887920        ],
    888921        mm.generator['source']()
     
    31963229    mm.addModule(dev_usb_storage(mm))
    31973230    #mm.addModule(dev_usb_storage_add_on(mm))
     3231    mm.addModule(dev_usb_controller_bbb(mm))
    31983232
    31993233    #mm.addModule(dev_usb_template(mm))
Note: See TracChangeset for help on using the changeset viewer.