mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-13 04:54:44 +08:00
imx: Fix build for all other BSPs.
This commit is contained in:
parent
c0f6606d47
commit
db78c8c52f
@ -51,7 +51,14 @@ __FBSDID("$FreeBSD$");
|
||||
#include <arm/freescale/imx/imx6_anatopvar.h>
|
||||
#include <arm/freescale/imx/imx6_ccmreg.h>
|
||||
#include <arm/freescale/imx/imx_machdep.h>
|
||||
#ifndef __rtems__
|
||||
#include <arm/freescale/imx/imx_ccmvar.h>
|
||||
#else /* __rtems__ */
|
||||
#include <bsp.h>
|
||||
#ifdef LIBBSP_ARM_IMX_BSP_H
|
||||
#include <arm/freescale/imx/imx_ccmvar.h>
|
||||
#endif /* LIBBSP_ARM_IMX_BSP_H */
|
||||
#endif /* __rtems__ */
|
||||
|
||||
#ifndef CCGR_CLK_MODE_ALWAYS
|
||||
#define CCGR_CLK_MODE_OFF 0
|
||||
|
@ -49,7 +49,11 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <machine/bus.h>
|
||||
|
||||
#ifndef __rtems__
|
||||
#include <arm/freescale/imx/imx_ccmvar.h>
|
||||
#else /* __rtems__ */
|
||||
void imx_ccm_usbphy_enable(device_t _phydev);
|
||||
#endif /* __rtems__ */
|
||||
#include <arm/freescale/imx/imx6_anatopreg.h>
|
||||
#include <arm/freescale/imx/imx6_anatopvar.h>
|
||||
#ifdef __rtems__
|
||||
|
@ -67,7 +67,9 @@ __FBSDID("$FreeBSD$");
|
||||
#include <machine/bus.h>
|
||||
#include <machine/resource.h>
|
||||
|
||||
#ifndef __rtems__
|
||||
#include <arm/freescale/imx/imx_ccmvar.h>
|
||||
#endif /* __rtems__ */
|
||||
|
||||
#include <rtems/bsd/local/opt_platform.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user