[PATCH rtems-libbsd] imx: Remove ccm functions alredy defined in RTEMS
Gedare Bloom
gedare at rtems.org
Tue Aug 31 21:21:40 UTC 2021
ok
On Tue, Aug 31, 2021 at 5:43 AM Christian Mauderer
<christian.mauderer at embedded-brains.de> wrote:
>
> 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
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
More information about the devel
mailing list