From: Shaohui Xie <b21989@freescale.com>
Date: Thu, 12 May 2011 10:46:14 +0000 (+0800)
Subject: powerpc/85xx: Enable eSPI support on corenet ds boards
X-Git-Tag: v2025.01-rc5-pxa1908~19419^2~1
X-Git-Url: http://git.dujemihanovic.xyz/img/html/index.html?a=commitdiff_plain;h=2dd3095d878e7066bda003a63ea8b232c19a7041;p=u-boot.git

powerpc/85xx: Enable eSPI support on corenet ds boards

Signed-off-by: Shaohui Xie <b21989@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---

diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h
index d1cda151d8..561f3c27a7 100644
--- a/include/configs/corenet_ds.h
+++ b/include/configs/corenet_ds.h
@@ -350,6 +350,16 @@
 #endif
 #define CONFIG_SYS_SRIO2_MEM_SIZE	0x10000000	/* 256M */
 
+/*
+ * eSPI - Enhanced SPI
+ */
+#define CONFIG_FSL_ESPI
+#define CONFIG_SPI_FLASH
+#define CONFIG_SPI_FLASH_SPANSION
+#define CONFIG_CMD_SF
+#define CONFIG_SF_DEFAULT_SPEED         10000000
+#define CONFIG_SF_DEFAULT_MODE          0
+
 /*
  * General PCI
  * Memory space is mapped 1-1, but I/O space must start from 0.