mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-13 11:39:18 +08:00
imx: Remove ccm functions alredy defined in RTEMS
The imx_ccm_*_hz are all defined in RTEMS. So don't duplicate them in libbsd. Otherwise some applications get linker errors. Update #3869
This commit is contained in:
parent
8f870a3593
commit
d36d545d16
@ -368,6 +368,7 @@ imx6_ccm_sata_enable(void)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __rtems__
|
||||||
uint32_t
|
uint32_t
|
||||||
imx_ccm_ecspi_hz(void)
|
imx_ccm_ecspi_hz(void)
|
||||||
{
|
{
|
||||||
@ -408,6 +409,7 @@ imx_ccm_ahb_hz(void)
|
|||||||
{
|
{
|
||||||
return (132000000);
|
return (132000000);
|
||||||
}
|
}
|
||||||
|
#endif /* __rtems__ */
|
||||||
|
|
||||||
void
|
void
|
||||||
imx_ccm_ipu_enable(int ipu)
|
imx_ccm_ipu_enable(int ipu)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user