[PATCH rtems-libbsd] imx: Remove ccm functions alredy defined in RTEMS
Christian Mauderer
christian.mauderer at embedded-brains.de
Tue Aug 31 11:43:30 UTC 2021
The imx_ccm_*_hz are all defined in RTEMS. So don't duplicate them in
libbsd. Otherwise some applications get linker errors.
Update #3869
---
freebsd/sys/arm/freescale/imx/imx6_ccm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/freebsd/sys/arm/freescale/imx/imx6_ccm.c b/freebsd/sys/arm/freescale/imx/imx6_ccm.c
index 78bbd5c1..7fdb69b8 100644
--- a/freebsd/sys/arm/freescale/imx/imx6_ccm.c
+++ b/freebsd/sys/arm/freescale/imx/imx6_ccm.c
@@ -368,6 +368,7 @@ imx6_ccm_sata_enable(void)
return 0;
}
+#ifndef __rtems__
uint32_t
imx_ccm_ecspi_hz(void)
{
@@ -408,6 +409,7 @@ imx_ccm_ahb_hz(void)
{
return (132000000);
}
+#endif /* __rtems__ */
void
imx_ccm_ipu_enable(int ipu)
--
2.31.1
More information about the devel
mailing list