qca: Moving board initialization routines to a common file
Adding a common file board_init.c and moving board initialization
related routines here to keep them generic.
Change-Id: I0694d8db9d7c5a7f745c623d12551bf112f11b78
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
diff --git a/include/common.h b/include/common.h
index dafa801..c8c9a44 100644
--- a/include/common.h
+++ b/include/common.h
@@ -393,8 +393,8 @@
* Return -1 if variable does not exist (default to true)
*/
int getenv_yesno(const char *var);
-#ifdef CONFIG_IPQ40XX_ENV
-extern int (*saveenv)(void);
+#if defined(CONFIG_IPQ40XX_ENV) || defined(CONFIG_IPQ807X_ENV)
+extern int (*saveenv)(void);
#else
int saveenv (void);
#endif