mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-13 07:50:09 +08:00
parent
7e8e1770f2
commit
06dd40e544
@ -124,6 +124,9 @@ struct imx51_gpio_softc {
|
||||
};
|
||||
|
||||
static struct ofw_compat_data compat_data[] = {
|
||||
#ifdef __rtems__
|
||||
{"fsl,imx7d-gpio", 1},
|
||||
#endif /* __rtems__ */
|
||||
{"fsl,imx6q-gpio", 1},
|
||||
{"fsl,imx53-gpio", 1},
|
||||
{"fsl,imx51-gpio", 1},
|
||||
@ -508,7 +511,7 @@ gpio_pic_register_isrcs(struct imx51_gpio_softc *sc)
|
||||
*/
|
||||
static void
|
||||
imx51_gpio_pin_configure(struct imx51_gpio_softc *sc, struct gpio_pin *pin,
|
||||
unsigned int flags)
|
||||
uint32_t flags)
|
||||
{
|
||||
u_int newflags, pad;
|
||||
|
||||
|
@ -719,12 +719,13 @@ class mmc_ti(builder.Module):
|
||||
)
|
||||
self.addKernelSpaceSourceFiles(
|
||||
[
|
||||
'sys/dev/sdhci/sdhci.c',
|
||||
'sys/arm/ti/ti_sdhci.c',
|
||||
'sys/arm/freescale/imx/imx_gpio.c',
|
||||
'sys/arm/ti/ti_hwmods.c',
|
||||
'sys/dev/sdhci/sdhci_fdt_gpio.c',
|
||||
'sys/dev/gpio/ofw_gpiobus.c',
|
||||
'sys/arm/ti/ti_sdhci.c',
|
||||
'sys/dev/gpio/gpiobus.c',
|
||||
'sys/dev/gpio/ofw_gpiobus.c',
|
||||
'sys/dev/sdhci/sdhci.c',
|
||||
'sys/dev/sdhci/sdhci_fdt_gpio.c',
|
||||
],
|
||||
mm.generator['source']()
|
||||
)
|
||||
|
@ -127,6 +127,8 @@ SYSINIT_DRIVER_REFERENCE(simplebus, ofwbus);
|
||||
SYSINIT_DRIVER_REFERENCE(ffec, simplebus);
|
||||
SYSINIT_DRIVER_REFERENCE(ukphy, miibus);
|
||||
|
||||
SYSINIT_DRIVER_REFERENCE(imx51_gpio, simplebus);
|
||||
|
||||
#elif defined(LIBBSP_ARM_LPC24XX_BSP_H)
|
||||
|
||||
RTEMS_BSD_DEFINE_NEXUS_DEVICE(ohci, 0, 0, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user