ipq806x: Added multicore support

-Device IO commands are not supported
-CPU down is temporary supported by WFE instruction
-Need reboot to execute bootipq command

Change-Id: Ic7f1dece29e29f75b984018bcf1fc5f724282567
Signed-off-by: Santan Kumar <santank@codeaurora.org>
diff --git a/include/command.h b/include/command.h
index 94d053d..d574ec7 100644
--- a/include/command.h
+++ b/include/command.h
@@ -111,7 +111,7 @@
 
 extern int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
 
-#if defined(CONFIG_SMP_PSCI_CMD)
+#if defined(CONFIG_SMP_CMD_SUPPORT)
 extern int do_runmulticore(cmd_tbl_t *cmdtp,
 			   int flag, int argc, char *const argv[]);
 #endif
diff --git a/include/configs/ipq806x.h b/include/configs/ipq806x.h
index 340053e..59a60a9 100644
--- a/include/configs/ipq806x.h
+++ b/include/configs/ipq806x.h
@@ -34,6 +34,10 @@
 #endif /* !DO_DEPS_ONLY */
 
 #define CONFIG_IPQ806X
+#define CONFIG_SMP_CMD_SUPPORT
+#ifdef CONFIG_SMP_CMD_SUPPORT
+#define NR_CPUS				2
+#endif
 
 #define CONFIG_SYS_NO_FLASH
 #define CONFIG_SYS_CACHELINE_SIZE   64
diff --git a/include/configs/ipq807x.h b/include/configs/ipq807x.h
index dcb10d7..9627c2c 100644
--- a/include/configs/ipq807x.h
+++ b/include/configs/ipq807x.h
@@ -107,9 +107,9 @@
 #define CONFIG_ENV_IS_IN_SPI_FLASH	1
 #define CONFIG_ENV_SECT_SIZE        	(64 * 1024)
 
-#define CONFIG_SMP_PSCI_CMD
+#define CONFIG_SMP_CMD_SUPPORT
 
-#ifdef CONFIG_SMP_PSCI_CMD
+#ifdef CONFIG_SMP_CMD_SUPPORT
 #define NR_CPUS				4
 #endif
 /*