Is there a method for initializing addtional BSD driver after calling rtems_bsd_initialize() ?
JunBeom Kim (EmbedCoreTech)
jbkim at e-coretech.kr
Fri Jan 18 07:47:52 UTC 2019
Dear Sir,
I am tring to find how to initialize additional BSD driver after calling
rtems_bsd_initialize().
For example for i.MX7D case.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
< original code from nexus-devices.h >
RTEMS_BSD_DEFINE_NEXUS_DEVICE(ofwbus, 0, 0, NULL);
SYSINIT_DRIVER_REFERENCE(simplebus, ofwbus);
SYSINIT_DRIVER_REFERENCE(ffec, simplebus);
SYSINIT_DRIVER_REFERENCE(ukphy, miibus);
SYSINIT_DRIVER_REFERENCE(imx51_gpio, simplebus);
SYSINIT_DRIVER_REFERENCE(sdhci_fsl, simplebus);
RTEMS_BSD_DRIVER_MMC;
< Modified code from nexus-devices.h >
RTEMS_BSD_DEFINE_NEXUS_DEVICE(ofwbus, 0, 0, NULL);
SYSINIT_DRIVER_REFERENCE(simplebus, ofwbus);
//SYSINIT_DRIVER_REFERENCE(ffec, simplebus);
//SYSINIT_DRIVER_REFERENCE(ukphy, miibus);
SYSINIT_DRIVER_REFERENCE(imx51_gpio, simplebus);
SYSINIT_DRIVER_REFERENCE(sdhci_fsl, simplebus);
RTEMS_BSD_DRIVER_MMC;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It means that after BSD driver for SDHC only is initialized by calling
rtems_bsd_initialize(), I want to initialize BSD driver module about ffec,
ukphy in other thread.
Is there a method for this ?
Best Regards,
JunBeom Kim
~~~~~~~~~~~~~~~~~~~~~~
President / EmbedCoreTech
Phone: +82-31-396-5584
Fax: +82-504-065-5720
Mobile:+82-10-6425-5720
Email: <mailto:jbkim at e-coretech.kr> jbkim at e-coretech.kr
Web: <http://www.e-coretech.kr> www.e-coretech.kr
~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20190118/6e3eb04d/attachment.html>
More information about the users
mailing list