[PATCH 31/34] powerpc/qoriq/include/bsp.h: Add prototypes to fix warnings

Joel Sherrill joel.sherrill at oarcorp.com
Mon Oct 20 20:34:33 UTC 2014


---
 c/src/lib/libbsp/powerpc/qoriq/include/bsp.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/c/src/lib/libbsp/powerpc/qoriq/include/bsp.h b/c/src/lib/libbsp/powerpc/qoriq/include/bsp.h
index a4be2e2..0876060 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/qoriq/include/bsp.h
@@ -51,6 +51,16 @@ int qoriq_if_intercom_attach_detach(
   int attaching
 );
 
+#if defined(HAS_UBOOT)
+  /* Routine to obtain U-Boot environment variables */
+  const char *bsp_uboot_getenv(
+    const char *name
+  );
+#endif
+
+void *bsp_idle_thread( uintptr_t ignored );
+#define BSP_IDLE_TASK_BODY bsp_idle_thread
+
 #define RTEMS_BSP_NETWORK_DRIVER_ATTACH BSP_tsec_attach
 #define RTEMS_BSP_NETWORK_DRIVER_ATTACH4 qoriq_if_intercom_attach_detach
 
-- 
1.9.3




More information about the devel mailing list