ipq6018: Update SPI devices and SPI info idx
This patch modifies the SPI devices and SPI
info idx to 2. This is necessary because ipq6018
platform has support for both SPI NOR and
SPI NAND
Change-Id: I0fcdd4a43cd95e4c21b738fda193672fc51bf75f
Signed-off-by: speriaka <speriaka@codeaurora.org>
diff --git a/include/configs/ipq6018.h b/include/configs/ipq6018.h
index f11c693..68087d3 100644
--- a/include/configs/ipq6018.h
+++ b/include/configs/ipq6018.h
@@ -236,10 +236,10 @@
CONFIG_IPQ_MAX_SPI_DEVICE
#define CONFIG_IPQ_MAX_NAND_DEVICE 1
-#define CONFIG_IPQ_MAX_SPI_DEVICE 1
+#define CONFIG_IPQ_MAX_SPI_DEVICE 2
#define CONFIG_QPIC_NAND_NAND_INFO_IDX 0
-#define CONFIG_IPQ_SPI_NOR_INFO_IDX 1
+#define CONFIG_IPQ_SPI_NOR_INFO_IDX 2
#define CONFIG_NAND_FLASH_INFO_IDX CONFIG_QPIC_NAND_NAND_INFO_IDX
#define CONFIG_SPI_FLASH_INFO_IDX CONFIG_IPQ_SPI_NOR_INFO_IDX