[U-Boot] [PATCH 2/2] powerpc/mpc8548cds: Add 36-bit support

2011-10-12 Thread Zhao Chenhui
From: chenhui zhao Signed-off-by: Zhao Chenhui --- boards.cfg |1 + include/configs/MPC8548CDS.h | 56 ++ 2 files changed, 57 insertions(+), 0 deletions(-) diff --git a/boards.cfg b/boards.cfg index 65482ac..1b807cc 100644 --- a

[U-Boot] [PATCH 1/2] powerpc/mpc8548cds: Code cleanup and refactoring

2011-10-12 Thread Zhao Chenhui
. Signed-off-by: Zhao Chenhui --- replace the patch "powerpc/mpc8548cds: Fix config according to system address map". board/freescale/mpc8548cds/law.c| 31 +- board/freescale/mpc8548cds/mpc8548cds.c |8 ++-- board/freescale/mpc8548cds/tlb.c

Re: [U-Boot] [PATCH 8/9] powerpc/mpc8548cds: Fix config according to system address map

2011-10-08 Thread Zhao Chenhui
On Sat, Oct 08, 2011 at 03:02:18PM +0800, Zhao Chenhui wrote: > On Fri, Oct 07, 2011 at 10:17:28AM -0500, Kumar Gala wrote: > > > > On Sep 13, 2011, at 2:15 AM, Zhao Chenhui wrote: > > > > > From: chenhui zhao > > > > > > - Fix conf

[U-Boot] [PATCH 8/9 v2] powerpc/mpc8548cds: Fix config according to system address map

2011-10-08 Thread Zhao Chenhui
From: chenhui zhao - Fix config according to system address map in the manual. - Rework tlb and law tables. - Remove unnecessary macros. Signed-off-by: Zhao Chenhui --- Changes for v2: - Fixed typo in the comments of tlb.c board/freescale/mpc8548cds/law.c| 19 + board

Re: [U-Boot] [PATCH 8/9] powerpc/mpc8548cds: Fix config according to system address map

2011-10-08 Thread Zhao Chenhui
On Fri, Oct 07, 2011 at 10:17:28AM -0500, Kumar Gala wrote: > > On Sep 13, 2011, at 2:15 AM, Zhao Chenhui wrote: > > > From: chenhui zhao > > > > - Fix config according to system address map in the manual. > > - Rework tlb and law tables. > > - Remove unn

[U-Boot] [PATCH v2] powerpc/mpc85xxcds: Fix PCI speed

2011-09-14 Thread Zhao Chenhui
From: chenhui zhao The CDS uses PCICLK as SYSCLK. The PCICLK should be Hz or Hz. Signed-off-by: Ebony Zhu Signed-off-by: Zhao Chenhui --- Changes for v2: -rewrite the description. -use strmhz(). board/freescale/common/cadmus.c |8 board/freescale

Re: [U-Boot] [PATCH 2/9] powerpc/mpc85xxcds: Fix PCI speed

2011-09-14 Thread Zhao Chenhui
On Tue, Sep 13, 2011 at 03:18:59PM -0500, Timur Tabi wrote: > Scott Wood wrote: > > > So you'll set the speed to if the actual speed is 6600? > > I think so. > > > Even if it's 3300, why force it to ? > > That's a good question. Since the patch doesn't explain why it's

Re: [U-Boot] [PATCH 2/9] powerpc/mpc85xxcds: Fix PCI speed

2011-09-14 Thread Zhao Chenhui
On Tue, Sep 13, 2011 at 10:14:44PM +0200, Wolfgang Denk wrote: > Dear Zhao Chenhui, > > In message <1315898131-27710-2-git-send-email-chenhui.z...@freescale.com> you > wrote: > ... > > printf("PCI1: %d bit, %s MHz, %s\n", > > (pci1

[U-Boot] [PATCH 8/9] powerpc/mpc8548cds: Fix config according to system address map

2011-09-13 Thread Zhao Chenhui
From: chenhui zhao - Fix config according to system address map in the manual. - Rework tlb and law tables. - Remove unnecessary macros. Signed-off-by: Zhao Chenhui --- board/freescale/mpc8548cds/law.c| 19 + board/freescale/mpc8548cds/mpc8548cds.c |8 ++-- board

[U-Boot] [PATCH 3/9] powerpc/mpc8548: Add workaround for erratum NMG_DDR120

2011-09-13 Thread Zhao Chenhui
receiver to an acceptable bias point. Signed-off-by: Gong Chen Signed-off-by: Zhao Chenhui --- arch/powerpc/cpu/mpc85xx/cmd_errata.c |4 arch/powerpc/cpu/mpc85xx/ddr-gen2.c | 22 +- arch/powerpc/include/asm/config_mpc85xx.h |1 + 3 files changed, 26

[U-Boot] [PATCH 7/9] powerpc/mpc8548: Add workaround for erratum NMG_LBC103

2011-09-13 Thread Zhao Chenhui
divider LCRR[CLKDIV]. Refer to the erratum LBIU3 of mpc8548. Signed-off-by: Zhao Chenhui --- arch/powerpc/cpu/mpc85xx/cmd_errata.c |3 +++ arch/powerpc/cpu/mpc85xx/cpu_init.c |3 +++ arch/powerpc/include/asm/config_mpc85xx.h |1 + 3 files changed, 7 insertions(+), 0

[U-Boot] [PATCH 9/9] powerpc/mpc8548cds: Add 36-bit support

2011-09-13 Thread Zhao Chenhui
From: chenhui zhao Signed-off-by: Zhao Chenhui --- boards.cfg |1 + include/configs/MPC8548CDS.h | 52 ++ 2 files changed, 53 insertions(+), 0 deletions(-) diff --git a/boards.cfg b/boards.cfg index 8bf69e3..64a39f8 100644 --- a

[U-Boot] [PATCH 6/9] powerpc/mpc8548cds: Update config file

2011-09-13 Thread Zhao Chenhui
From: chenhui zhao -Increase the size of malloc space. -Enable e1000 network card. -Change the location of env address. -Use hwconfig to turn off ECC. Signed-off-by: Zhao Chenhui --- include/configs/MPC8548CDS.h | 14 +++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff

[U-Boot] [PATCH 4/9] powerpc/mpc8548: Add workaround for erratum NMG_eTSEC129

2011-09-13 Thread Zhao Chenhui
From: chenhui zhao Erratum NMG_eTSEC129 (eTSEC86 in MPC8548 document) applies to some early verion silicons. This workaround detects if the eTSEC Rx logic is properly initialized, and reinitialize the eTSEC Rx logic. Signed-off-by: Gong Chen Signed-off-by: Zhao Chenhui --- arch/powerpc/cpu

[U-Boot] [PATCH 1/9] powerpc/mpc8548cds: Fix booting message

2011-09-13 Thread Zhao Chenhui
From: chenhui zhao Align the output for PCI. Replace "PCI" with "PCI1". Signed-off-by: Zhao Chenhui --- board/freescale/mpc8548cds/mpc8548cds.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/freescale/mpc8548cds/mpc8548cds.c b/board/

[U-Boot] [PATCH 5/9] powerpc/mpc8548cds: Fix network initialization

2011-09-13 Thread Zhao Chenhui
From: chenhui zhao Add board_eth_init(). PCIe network card is also supported. Put RGMII init after tsec_eth_init(). Skip initializing eTSEC3 and eTSEC4 with Carrier boards prior to ver 1.3. Signed-off-by: Ebony Zhu Signed-off-by: Zhao Chenhui --- board/freescale/mpc8548cds/mpc8548cds.c

[U-Boot] [PATCH 2/9] powerpc/mpc85xxcds: Fix PCI speed

2011-09-13 Thread Zhao Chenhui
From: chenhui zhao Use Hz for 33MHz, Hz for 66MHz. Signed-off-by: Ebony Zhu Signed-off-by: Zhao Chenhui --- board/freescale/common/cadmus.c |8 board/freescale/mpc8541cds/mpc8541cds.c |6 +++--- board/freescale/mpc8548cds/mpc8548cds.c |4

[U-Boot] [PATCH 3/3] powerpc/mpc8610hpcd: set pci1_hose.config_table after fsl_setup_hose

2011-08-23 Thread Zhao Chenhui
The function fsl_setup_hose clears the variable pci1_hose. Set pci1_hose.config_table after it. Signed-off-by: Zhao Chenhui --- board/freescale/mpc8610hpcd/mpc8610hpcd.c | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/board/freescale/mpc8610hpcd/mpc8610hpcd.c

[U-Boot] [PATCH 1/3] powerpc/mpc8548cds: set pci1_hose.config_table after fsl_setup_hose

2011-08-23 Thread Zhao Chenhui
The function fsl_setup_hose clears the variable pci1_hose. Set pci1_hose.config_table after it. Signed-off-by: Zhao Chenhui --- board/freescale/mpc8548cds/mpc8548cds.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/freescale/mpc8548cds/mpc8548cds.c b/board

[U-Boot] [PATCH] powerpc/mpc8548cds: Cleanup mpc8548cds.c

2011-08-23 Thread Zhao Chenhui
Remove unnecessary or dead code/includes. Signed-off-by: Zhao Chenhui --- board/freescale/mpc8548cds/mpc8548cds.c |7 --- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/board/freescale/mpc8548cds/mpc8548cds.c b/board/freescale/mpc8548cds/mpc8548cds.c index 5ffae47

[U-Boot] [PATCH 2/3] powerpc/mpc8568mds: set pci1_hose.config_table after fsl_setup_hose

2011-08-23 Thread Zhao Chenhui
The function fsl_setup_hose clears the variable pci1_hose. Set pci1_hose.config_table after it. Signed-off-by: Zhao Chenhui --- board/freescale/mpc8568mds/mpc8568mds.c | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/board/freescale/mpc8568mds/mpc8568mds.c b

[U-Boot] [PATCH] ehci-pci: Fix PCI EHCI driver for 36-bit

2011-04-18 Thread Zhao Chenhui
Convert the PCI base address into a virtual address. Signed-off-by: Zhao Chenhui Signed-off-by: Li Yang --- drivers/usb/host/ehci-pci.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c index a038b6c..e400aee

[U-Boot] [PATCH] powerpc: fix LDSCRIPT in NAND boot

2011-01-28 Thread Zhao Chenhui
from overriding LDSCRIPT with a NAND-specific script, unless such a script exists. Signed-off-by: Zhao Chenhui Acked-by: Scott Wood --- arch/powerpc/config.mk |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/config.mk b/arch/powerpc/config.mk index 2912604..08

[U-Boot] [PATCH] revert "tsec: Force TBI PHY to 1000Mbps full duplex in SGMII mode"

2010-11-17 Thread Zhao Chenhui
On P2020DS and MPC8572DS, the link to SGMII card which use Vitesse VSC8234 PHY can't come up. Current TBI PHY settings(TBICR_SETTINGS) for SGMII mode cause link problems. Revert commit 46e91674fb4b6d06c6a4984c0b5ac7d9a16923f4, and fix it. Signed-off-by: Zhao Chenhui --- drivers/net/t