[rtems commit] bsp/imx: Support imx6ul iomux.
Christian Mauderer
christianm at rtems.org
Tue Feb 11 08:20:28 UTC 2020
Module: rtems
Branch: master
Commit: b58f994492261a18444e45b4dadc3989d0b20d98
Changeset: http://git.rtems.org/rtems/commit/?id=b58f994492261a18444e45b4dadc3989d0b20d98
Author: Christian Mauderer <christian.mauderer at embedded-brains.de>
Date: Mon Feb 10 10:35:16 2020 +0100
bsp/imx: Support imx6ul iomux.
Update #3869.
---
bsps/arm/imx/start/imx_iomux.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/bsps/arm/imx/start/imx_iomux.c b/bsps/arm/imx/start/imx_iomux.c
index cd4591f..f6235d3 100644
--- a/bsps/arm/imx/start/imx_iomux.c
+++ b/bsps/arm/imx/start/imx_iomux.c
@@ -118,6 +118,10 @@ imx_iomux_init(void)
fdt = bsp_fdt_get();
node = fdt_node_offset_by_compatible(fdt, -1, "fsl,imx7d-iomuxc");
+ if (node < 0) {
+ node = fdt_node_offset_by_compatible(fdt, -1,
+ "fsl,imx6ul-iomuxc");
+ }
sc = iomux_sc;
sc->regs = imx_get_reg_of_node(fdt, node);
}
More information about the vc
mailing list