[rtems-libbsd commit] ehci_imx: Add to build.

Christian Mauderer christianm at rtems.org
Wed Apr 15 15:11:43 UTC 2020


Module:    rtems-libbsd
Branch:    master
Commit:    f33b6a0f3bb08266984b949e99b5e9bd9b0aebba
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=f33b6a0f3bb08266984b949e99b5e9bd9b0aebba

Author:    Christian Mauderer <christian.mauderer at embedded-brains.de>
Date:      Thu Apr  2 17:47:43 2020 +0200

ehci_imx: Add to build.

---

 libbsd.py                            | 2 ++
 rtemsbsd/include/bsp/nexus-devices.h | 5 +++++
 2 files changed, 7 insertions(+)

diff --git a/libbsd.py b/libbsd.py
index 0673eb5..6997aef 100644
--- a/libbsd.py
+++ b/libbsd.py
@@ -5201,6 +5201,8 @@ class imx(builder.Module):
         self.addKernelSpaceSourceFiles(
             [
                 'sys/arm/freescale/imx/imx6_ccm.c',
+                'sys/arm/freescale/imx/imx6_usbphy.c',
+                'sys/dev/usb/controller/ehci_imx.c',
             ],
             mm.generator['source']()
         )
diff --git a/rtemsbsd/include/bsp/nexus-devices.h b/rtemsbsd/include/bsp/nexus-devices.h
index d779ea5..f27d7a7 100644
--- a/rtemsbsd/include/bsp/nexus-devices.h
+++ b/rtemsbsd/include/bsp/nexus-devices.h
@@ -137,6 +137,11 @@ RTEMS_BSD_DEFINE_NEXUS_DEVICE(ofwbus, 0, 0, NULL);
 SYSINIT_DRIVER_REFERENCE(simplebus, ofwbus);
 
 SYSINIT_DRIVER_REFERENCE(ccm, simplebus);
+SYSINIT_DRIVER_REFERENCE(ehci, simplebus);
+SYSINIT_DRIVER_REFERENCE(usbphy, simplebus);
+SYSINIT_DRIVER_REFERENCE(usbus, ehci);
+RTEMS_BSD_DRIVER_USB;
+RTEMS_BSD_DRIVER_USB_MASS;
 
 SYSINIT_DRIVER_REFERENCE(ffec, simplebus);
 SYSINIT_DRIVER_REFERENCE(ukphy, miibus);



More information about the vc mailing list