Patchwork [U-Boot,v1] Fix wrong CONFIG_SYS_MPC85xx_SERDES1_ADDR

login
register
mail settings
Submitter Prabhakar Kushwaha
Date Jan. 17, 2011, 6:40 a.m.
Message ID <1295246449-23052-1-git-send-email-prabhakar@freescale.com>
Download mbox | patch
Permalink /patch/79123/
State Accepted
Commit 17028be23887ea6d467e63e115c49b516ae58746
Delegated to: Kumar Gala
Headers show

Comments

Prabhakar Kushwaha - Jan. 17, 2011, 6:40 a.m.
CONFIG_SYS_MPC85xx_SERDES1_ADDR was defined wrong as
CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_SERDES2_OFFSET.
It should be as
CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_SERDES1_OFFSET.

Signed-off-by: Prabhakar <prabhakar@freescale.com>
---
 Based of http://git.denx.de/u-boot.git (branch master) 

Top commit:
commit c6b734f5aea2ba75caaa1929f7e649ecda8d2f31
Merge: 072f412 a972089
Author: Wolfgang Denk <wd@denx.de>
Date:   Wed Jan 12 23:59:53 2011 +0100

    Merge branch 'master' of git://git.denx.de/u-boot-sh

Changes for v1: Incorporated Wolfgang Denk's comments
	- Fixed header length to 74
	- Rebased to http://git.denx.de/u-boot.git (branch master)
	
 arch/powerpc/include/asm/immap_85xx.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Timur Tabi - Jan. 17, 2011, 3:29 p.m.
On Mon, Jan 17, 2011 at 12:40 AM, Prabhakar <prabhakar@freescale.com> wrote:
> CONFIG_SYS_MPC85xx_SERDES1_ADDR was defined wrong as
> CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_SERDES2_OFFSET.
> It should be as
> CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_SERDES1_OFFSET.
>
> Signed-off-by: Prabhakar <prabhakar@freescale.com>

Please resubmit this patch using your full name in the signed-off-by line.

Patch

diff --git a/arch/powerpc/include/asm/immap_85xx.h b/arch/powerpc/include/asm/immap_85xx.h
index 30c64eb..6a2daf2 100644
--- a/arch/powerpc/include/asm/immap_85xx.h
+++ b/arch/powerpc/include/asm/immap_85xx.h
@@ -2307,7 +2307,7 @@  typedef struct ccsr_pme {
 #define CONFIG_SYS_MPC85xx_CPM_ADDR \
 	(CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_CPM_OFFSET)
 #define CONFIG_SYS_MPC85xx_SERDES1_ADDR \
-	(CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_SERDES2_OFFSET)
+	(CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_SERDES1_OFFSET)
 #define CONFIG_SYS_MPC85xx_SERDES2_ADDR \
 	(CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_SERDES2_OFFSET)
 #define CONFIG_SYS_FSL_CORENET_SERDES_ADDR \