[U-Boot] [RFC] [PATCH 4/4] FSL eSPI support on P1/P2 RDB platforms

Can Aydin can.aydin at locatacorp.com
Tue Sep 28 11:57:05 CEST 2010



Add FSL eSPI support on P1/P2 RDB platforms

Signed-off-by: Can Aydin<can.aydin at 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


   



More information about the U-Boot mailing list