public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [RFC] [PATCH 4/4] FSL eSPI support on P1/P2 RDB platforms
@ 2010-09-28  9:57 Can Aydin
  0 siblings, 0 replies; only message in thread
From: Can Aydin @ 2010-09-28  9:57 UTC (permalink / raw)
  To: u-boot



Add FSL eSPI support on P1/P2 RDB platforms

Signed-off-by: Can Aydin<can.aydin@locatacorp.com>
---
  include/configs/P1_P2_RDB.h |   18 ++++++++++++++++++
  1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/include/configs/P1_P2_RDB.h b/include/configs/P1_P2_RDB.h
index 7e901e1..d830b4a 100644
--- a/include/configs/P1_P2_RDB.h
+++ b/include/configs/P1_P2_RDB.h
@@ -149,6 +149,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
  #define CONFIG_SYS_DDR_ERR_DIS		0x00000000
  #define CONFIG_SYS_DDR_SBE		0x00FF0000

+
  /*
   * Memory map
   *
@@ -168,6 +169,23 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
   */

  /*
+ * eSPI - Enhanced SPI
+ */
+#define CONFIG_FSL_ESPI
+#define CONFIG_HARD_SPI
+#define CONFIG_CMD_SPI
+
+/*
+ * Spansion SPI Flash
+ */
+#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
+
+/*
   * Local Bus Definitions
   */
  #define CONFIG_SYS_FLASH_BASE		0xef000000	/* start of FLASH 16M */
-- 
1.7.0.4


   

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-09-28  9:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-28  9:57 [U-Boot] [RFC] [PATCH 4/4] FSL eSPI support on P1/P2 RDB platforms Can Aydin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox