summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDiego Dorta <diego.dorta@nxp.com>2017-10-05 12:13:38 (GMT)
committerTom Rini <trini@konsulko.com>2017-10-16 13:42:51 (GMT)
commit026d7958ba6dc5ed4cd2c5ff507f55f3897cf41a (patch)
tree2a7df47f60791df4bdfdb688942e498a6fd38584 /include
parenta6e9810495bc929b6beafb88f557cdaadf87fc83 (diff)
downloadu-boot-026d7958ba6dc5ed4cd2c5ff507f55f3897cf41a.tar.xz
common: Add a prototype for s_init()
When compiling with W=1 the following warning is observed: arch/arm/mach-imx/mx6/soc.c:590:6: warning: no previous prototype for ‘s_init’ [-Wmissing-prototypes] void s_init(void) Remove this warning by adding the function prototype into include/common.h file. Signed-off-by: Diego Dorta <diego.dorta@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 4b521e1..e14e1da 100644
--- a/include/common.h
+++ b/include/common.h
@@ -514,6 +514,8 @@ int is_core_valid (unsigned int);
*/
int arch_cpu_init(void);
+void s_init(void);
+
int checkcpu (void);
int checkicache (void);
int checkdcache (void);