From b3825029ff0d766538aa769bc00934a4de8f6fdd Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 19 Sep 2018 08:22:14 +0200 Subject: fsl_sdhci.c: Port to RTEMS Update #3525. --- libbsd.py | 1 + rtemsbsd/include/bsp/nexus-devices.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/libbsd.py b/libbsd.py index c814d36b..03ac598a 100644 --- a/libbsd.py +++ b/libbsd.py @@ -724,6 +724,7 @@ class mmc_ti(builder.Module): 'sys/arm/ti/ti_sdhci.c', 'sys/dev/gpio/gpiobus.c', 'sys/dev/gpio/ofw_gpiobus.c', + 'sys/dev/sdhci/fsl_sdhci.c', 'sys/dev/sdhci/sdhci.c', 'sys/dev/sdhci/sdhci_fdt_gpio.c', ], diff --git a/rtemsbsd/include/bsp/nexus-devices.h b/rtemsbsd/include/bsp/nexus-devices.h index 714c74a8..50139645 100644 --- a/rtemsbsd/include/bsp/nexus-devices.h +++ b/rtemsbsd/include/bsp/nexus-devices.h @@ -124,10 +124,13 @@ RTEMS_BSD_DRIVER_MMC; 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; #elif defined(LIBBSP_ARM_LPC24XX_BSP_H) -- cgit v1.2.3