diff mbox

[U-Boot,v2] powerpc/t104xrdb: Add Support of rcw for T1042RDB in u-boot

Message ID 1406120147-24635-1-git-send-email-vijay.rai@freescale.com
State Accepted
Delegated to: York Sun
Headers show

Commit Message

vijay rai July 23, 2014, 12:55 p.m. UTC
This patch adds support of rcw for T1042RDB, it makes following changes :
- Adds t1042_rcw.cfg file for serdes protocol 0x86 for T1042RDB
- Renames t1042_pi_rcw.cfg file from t1042_rcw.cfg and also updates
  comments for valid serdes protocol which is 0x06
- Also updates CONFIG_SYS_FSL_PBL_RCW for T1042RDB

Signed-off-by: Vijay Rai <vijay.rai@freescale.com>
Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
---
 board/freescale/t104xrdb/t1042_pi_rcw.cfg |    7 +++++++
 board/freescale/t104xrdb/t1042_rcw.cfg    |    8 ++++----
 include/configs/T104xRDB.h                |    3 +++
 3 files changed, 14 insertions(+), 4 deletions(-)
 create mode 100644 board/freescale/t104xrdb/t1042_pi_rcw.cfg

Comments

York Sun Sept. 25, 2014, 4:29 p.m. UTC | #1
On 07/23/2014 05:55 AM, Vijay Rai wrote:
> This patch adds support of rcw for T1042RDB, it makes following changes :
> - Adds t1042_rcw.cfg file for serdes protocol 0x86 for T1042RDB
> - Renames t1042_pi_rcw.cfg file from t1042_rcw.cfg and also updates
>   comments for valid serdes protocol which is 0x06
> - Also updates CONFIG_SYS_FSL_PBL_RCW for T1042RDB
> 
> Signed-off-by: Vijay Rai <vijay.rai@freescale.com>
> Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
> ---

Applied to u-boot-mpc85xx master, awaiting upstream.

York
diff mbox

Patch

diff --git a/board/freescale/t104xrdb/t1042_pi_rcw.cfg b/board/freescale/t104xrdb/t1042_pi_rcw.cfg
new file mode 100644
index 0000000..57de89a
--- /dev/null
+++ b/board/freescale/t104xrdb/t1042_pi_rcw.cfg
@@ -0,0 +1,7 @@ 
+#PBL preamble and RCW header
+aa55aa55 010e0100
+# serdes protocol 0x06
+0c18000e 0e000000 00000000 00000000
+06000002 00400002 e8106000 01000000
+00000000 00000000 00000000 00030810
+00000000 01fe0a06 00000000 00000000
diff --git a/board/freescale/t104xrdb/t1042_rcw.cfg b/board/freescale/t104xrdb/t1042_rcw.cfg
index a3ea8ad..db4d52f 100644
--- a/board/freescale/t104xrdb/t1042_rcw.cfg
+++ b/board/freescale/t104xrdb/t1042_rcw.cfg
@@ -1,7 +1,7 @@ 
 #PBL preamble and RCW header
 aa55aa55 010e0100
-# serdes protocol 0x66
+# serdes protocol 0x86
 0c18000e 0e000000 00000000 00000000
-06000002 00400002 e8106000 01000000
-00000000 00000000 00000000 00030810
-00000000 01fe0a06 00000000 00000000
+86000002 80000002 ec027000 01000000
+00000000 00000000 00000000 00032810
+00000000 0342500f 00000000 00000000
diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
index 1e6c79a..eeac104 100644
--- a/include/configs/T104xRDB.h
+++ b/include/configs/T104xRDB.h
@@ -19,6 +19,9 @@ 
 #define CONFIG_SYS_FSL_PBL_RCW $(SRCTREE)/board/freescale/t104xrdb/t1040_rcw.cfg
 #endif
 #ifdef CONFIG_T1042RDB_PI
+#define CONFIG_SYS_FSL_PBL_RCW $(SRCTREE)/board/freescale/t104xrdb/t1042_pi_rcw.cfg
+#endif
+#ifdef CONFIG_T1042RDB
 #define CONFIG_SYS_FSL_PBL_RCW $(SRCTREE)/board/freescale/t104xrdb/t1042_rcw.cfg
 #endif