summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mauderer <christian.mauderer@embedded-brains.de>2020-09-09 11:34:22 +0200
committerChristian Mauderer <christian.mauderer@embedded-brains.de>2021-09-02 08:45:31 +0200
commitd36d545d162cc9ca1273f6eb11ed7ee1b74a1566 (patch)
tree7bf2cf41456d1c9dfcafcedafe8307f46734e6f8
parent8f870a359387bdf7e73bc5afce373c91b66f0dc2 (diff)
downloadrtems-libbsd-master.tar.bz2
imx: Remove ccm functions alredy defined in RTEMSHEADmaster
The imx_ccm_*_hz are all defined in RTEMS. So don't duplicate them in libbsd. Otherwise some applications get linker errors. Update #3869
-rw-r--r--freebsd/sys/arm/freescale/imx/imx6_ccm.c2
1 files changed, 2 insertions, 0 deletions
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)