[U-Boot] [PATCH v3 2/2] Freescale 85xx/P1/P2 eSPI controller driver

caydinc at gmail.com caydinc at gmail.com
Mon Oct 25 11:02:55 CEST 2010


From: Can Aydin <can.aydin at locatacorp.com>

Add support for Freescale eSPI driver in P1/P2 board configuration

Signed-off-by: Can Aydin <can.aydin at locatacorp.com>
---
Changes for v2:
        - Coding style cleanup
        - Removed modifications to common code

Changes for v3:
        - fixed whitespace between function calls and parameters
        - replaced unneeded byte copy test function with memcpy
        - removed dead code and C++ style comments
	- separated board configuration patch from driver patch

 include/configs/P1_P2_RDB.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/include/configs/P1_P2_RDB.h b/include/configs/P1_P2_RDB.h
index cff0ed3..33f1b1e 100644
--- a/include/configs/P1_P2_RDB.h
+++ b/include/configs/P1_P2_RDB.h
@@ -172,6 +172,13 @@ 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
+
+/*
  * 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