[rtems-libbsd commit] ehci_imx: Add to build.
Christian Mauderer
christianm at rtems.org
Wed Apr 15 15:13:21 UTC 2020
Module: rtems-libbsd
Branch: 5-freebsd-12
Commit: c5455b03ede775a8ed58f5599393d625ead2a987
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=c5455b03ede775a8ed58f5599393d625ead2a987
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 4f8fb4d..ed6493b 100644
--- a/libbsd.py
+++ b/libbsd.py
@@ -5028,6 +5028,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 0a210bd..d2ceab8 100644
--- a/rtemsbsd/include/bsp/nexus-devices.h
+++ b/rtemsbsd/include/bsp/nexus-devices.h
@@ -128,6 +128,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