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

login
register
mail settings
Submitter caydinc@gmail.com
Date Oct. 26, 2010, 9:42 a.m.
Message ID <1288086152-2480-1-git-send-email-can.aydin@locatacorp.com>
Download mbox | patch
Permalink /patch/71934/
State Superseded
Delegated to: Kumar Gala
Headers show

Comments

caydinc@gmail.com - Oct. 26, 2010, 9:42 a.m.
Add support for Freescale eSPI driver in P1/P2 board configuration

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

Patch

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 */