qca: Made IPQ806x specific changes to common boardinit and bootipq files.
1. Modified common bootipq command file to support IPQ806x.
2. Modified common board initialization file to support IPQ806x.
Change-Id: I1fdd93037b885eefea0c5ddede9436861dd485b3
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
diff --git a/include/common.h b/include/common.h
index c8c9a44..fc19f0d 100644
--- a/include/common.h
+++ b/include/common.h
@@ -30,6 +30,10 @@
#if defined(CONFIG_IPQ40XX)
#include <../board/qca/ipq40xx/ipq40xx.h>
+
+#elif defined(CONFIG_IPQ806X)
+#include <../board/qca/ipq806x/ipq806x.h>
+
#elif defined(CONFIG_IPQ_RUMI)
#include <../board/qca/ipq807x/ipq807x.h>
#endif
@@ -393,7 +397,7 @@
* Return -1 if variable does not exist (default to true)
*/
int getenv_yesno(const char *var);
-#if defined(CONFIG_IPQ40XX_ENV) || defined(CONFIG_IPQ807X_ENV)
+#if defined(CONFIG_IPQ40XX_ENV) || defined(CONFIG_IPQ807X_ENV) || defined(CONFIG_IPQ806X_ENV)
extern int (*saveenv)(void);
#else
int saveenv (void);