Re: [U-Boot] [PATCH] fsl/pcie: Change 'no link' to 'undetermined' for pcie endpoint

2014-06-20 Thread Roy Zang
On 06/12/2014 10:22 PM, Prabhakar Kushwaha wrote: Hi Roy, On 6/13/2014 1:19 AM, Roy Zang wrote: Even u-boot boots up, the pcie link may not setup correctly when Freescale SOC acts as endpoint. So change the link status from 'no link' to 'undetermined' to reduce the confus

Re: [U-Boot] [PATCH] fsl/pcie: Change 'no link' to 'undetermined' for pcie endpoint

2014-06-20 Thread Roy Zang
On 06/12/2014 03:56 PM, Wolfgang Denk wrote: Dear Roy Zang, In message <1402602563-26705-1-git-send-email-tie-fei.z...@freescale.com> you wrote: Even u-boot boots up, the pcie link may not setup correctly when Freescale SOC acts as endpoint. So change the link status from '

[U-Boot] [PATCH] fsl/pcie: Change 'no link' to 'undetermined' for pcie endpoint

2014-06-12 Thread Roy Zang
Even u-boot boots up, the pcie link may not setup correctly when Freescale SOC acts as endpoint. So change the link status from 'no link' to 'undetermined' to reduce the confusion. The link status can check from host side eventually. Signed-off-by: Roy Zang --- drivers/pci/f

[U-Boot] [PATCH] T4240: Address T4240/T4160 Rev2.0 DDR clock change

2013-11-27 Thread Roy Zang
MEM_PLL_RAT on T4240/T4160 Rev2.0 uses a value which is half of Rev1.0. It's 12 in Rev1.0, for Rev2.0 it uses 6. Signed-off-by: Roy Zang Signed-off-by: Shaohui Xie Reviewed-by: Yusong Sun --- arch/powerpc/cpu/mpc85xx/speed.c |8 1 file changed, 8 insertions(+) diff --git a

[U-Boot] [PATCH] powerpc/pcie: remove PCIe version 3.x define for B4860 and B4420

2013-07-03 Thread Roy Zang
B4860 and B4420 has PCIe version 2.4 IP instead of 3.x Signed-off-by: Roy Zang --- arch/powerpc/include/asm/config_mpc85xx.h |1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/include/asm/config_mpc85xx.h b/arch/powerpc/include/asm/config_mpc85xx.h index 01d3d37..1d46b14 100644

[U-Boot] [PATCH] powerpc/pcie: add PCIe version 3.x support

2013-07-03 Thread Roy Zang
atch changes code to use 'Header Type' field to identify if the PCIE is RC or EP mode. This patch fixes the PCIe card link up issue on T4240QDS. Signed-off-by: Roy Zang Signed-off-by: Minghuan Lian --- arch/powerpc/include/asm/config_mpc85xx.h |1 + arch/powerpc/inclu

[U-Boot] [PATCH] fman/mEMAC: set SETSP bit in IF_MODE regisgter for RGMII speed

2013-03-03 Thread Roy Zang
Some legacy RGMII phys don't have in band signaling for the speed information. so set the RGMII MAC mode according to the speed got from PHY. Signed-off-by: Roy Zang Reported-by: John Traill --- arch/powerpc/include/asm/fsl_memac.h |4 drivers/net/fm/memac.c |

[U-Boot] [PATCH] powerpc/p5040: add serdes2 memory map register define

2013-01-16 Thread Roy Zang
Signed-off-by: Roy Zang --- arch/powerpc/include/asm/immap_85xx.h | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/powerpc/include/asm/immap_85xx.h b/arch/powerpc/include/asm/immap_85xx.h index 296b549..0f15799 100644 --- a/arch/powerpc/include/asm

[U-Boot] [PATCH v2] powerpc/corenet_ds: move SATA config to board configuration

2012-11-26 Thread Roy Zang
CONFIG_FSL_SATA_V2 to board configuration header file. This patch reverts Timur's commit:3e0529f742e893653848494ffb9f7cd0d91304bf Signed-off-by: Roy Zang --- v2: update according to Timur's comment arch/powerpc/include/asm/config_mpc85xx.h |7 --- include/configs/P1010RDB.h

[U-Boot] [PATCH] fsl/sata: remove read only bit writing in host control register

2012-11-25 Thread Roy Zang
HC_OFF bit in HControl register is read only bit, which should not be written. Signed-off-by: Roy Zang --- check mpc8379, mpc8536, P3041, P5020 and T4240. HC_OFF bit is read only. drivers/block/fsl_sata.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/block

[U-Boot] [PATCH] powerpc/corenet_ds: move SATA config to board configuration

2012-11-01 Thread Roy Zang
CONFIG_FSL_SATA_V2 to board configuration header file. Signed-off-by: Roy Zang --- arch/powerpc/include/asm/config_mpc85xx.h |3 --- include/configs/P2041RDB.h|4 +++- include/configs/P3041DS.h |1 + include/configs/P5020DS.h |1 + 4 files

[U-Boot] [PATCH] P4080/esdhc: make the P4080 ESDHC13 errata workaround conditional

2012-09-18 Thread Roy Zang
P4080 Rev3.0 fixes ESDHC13 errata, so update the code to make the workaround conditional. In formal release document, the errata number should be ESDHC13 instead of ESDHC136. Signed-off-by: Roy Zang --- for sdk1.3. fix defect ENGR180745 arch/powerpc/cpu/mpc85xx/cmd_errata.c |5

[U-Boot] [PATCH] e1000: fix unused variable waring for e1000 driver

2011-11-06 Thread Roy Zang
ble 'ret_val' set but not used [-Wunused-but-set-variable] Signed-off-by: Roy Zang Cc: Wolfgang Denk Cc: Kyle Moffett --- drivers/net/e1000.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index 6eab7b2..6b71bd9 100644

[U-Boot] [PATCH v2] QorIQ: fix network frame manager TBI PHY address settings

2011-10-27 Thread Roy Zang
TBI PHY address (TBIPA) register has been set in general frame manager phy init funciton dtsec_init_phy() in drivers/net/fm/eth.c So remove the duplicate code on QorIQ frame manager Ethernet related platforms, which include Hydra board, P4080DS board and P2041rdb board. Signed-off-by: Roy Zang

[U-Boot] [PATCH v2] Phy/Marvell: Rewrite the MV88E1111 phy config function based on kernel code

2011-10-27 Thread Roy Zang
The original m88es_config() does not do the SGMII mode initialization and is buggy. Rewrite the function according to 3.0.6 kernel function m88e_config_init() in drivers/net/phy/marvell.c Signed-off-by: Roy Zang Acked-by: Andy Fleming Cc: Kumar Gala --- v2: Use timeout instead of

[U-Boot] [PATCH] powerpc/fm: remove the TBIPA setting on platform code

2011-10-20 Thread Roy Zang
TBIPA has been set in dtsec_init_phy () funciton in drivers/net/fm/eth.c So remove the duplicate code on platform Ethernet code. Signed-off-by: Roy Zang Cc: Andy Fleming Cc: Kumar Gala --- Tested on P5020DS board/freescale/corenet_ds/eth_hydra.c |8 board/freescale/corenet_ds

[U-Boot] [PATCH] phy/marvell: Rewrite the MV88E1111 phy config function based on kernel code

2011-10-20 Thread Roy Zang
The original m88es_config() does not do the SGMII mode initialization and is buggy. Rewrite the function according to 3.0.6 kernel function m88e_config_init() in drivers/net/phy/marvell.c Signed-off-by: Roy Zang Acked-by: Andy Fleming Cc: Kumar Gala --- Tested on P1023RDS board

[U-Boot] [PATCH v2] powerpc/85xx: Add basic support for P1023RDS board

2011-06-08 Thread Roy Zang
The P1023RDS board is the reference board for the P1023 SoC. Add support for booting it from NOR or NAND, with fixed 2G of DDR, PCIe, UART, I2C, etc. Signed-off-by: Roy Zang Signed-off-by: Haiying Wang Signed-off-by: Chunhe Lan Signed-off-by: Lei Xu Signed-off-by: York Sun Signed-off-by

[U-Boot] [PATCH] powerpc/85xx: Add basic support for P1023RDS board

2011-06-07 Thread Roy Zang
The P1023RDS board is the reference board for the P1023 SoC. Add support for booting it from NOR or NAND, with fixed 2G of DDR, PCIe, UART, I2C, etc. Signed-off-by: Roy Zang Signed-off-by: Haiying Wang Signed-off-by: Chunhe Lan Signed-off-by: Lei Xu Signed-off-by: York Sun Signed-off-by

[U-Boot] [PATCH] powerpc:Enable compiler debug option for powerpc platforms

2011-03-14 Thread Roy Zang
This patch enables compiler debug option for powerpc platforms by default. Patch is tested on 85xx/QorIQ platforms in u-boot with CodeWarrior. Signed-off-by: Roy Zang Cc: Wood Scott-B07421 Cc: Kumar Gala --- Consider the comments http://lists.denx.de/pipermail/u-boot/2010-October/080689.html

[U-Boot] [PATCH v2] Adds general Freescale external debugger support

2011-01-30 Thread Roy Zang
as make CONFIG_EXT_DEBUGGER=1 or define CONFIG_EXT_DEBUGGER in the board header file. Signed-off-by: Roy Zang Cc: Wood Scott-B07421 Cc: Kumar Gala --- Consider the comment from Wolfgang Denk http://lists.denx.de/pipermail/u-boot/2010-October/080689.html README |4 arch

[U-Boot] [PATCH v2] Net: Add Intel E1000 82574L PCIe card support

2011-01-20 Thread Roy Zang
Add Intel E1000 82574L PCIe card support. Test on MPC8544DS and MPC8572 board. Add the missing contact information for future support. Signed-off-by: Roy Zang Acked-by: Kumar Gala --- minor style clean up vs. v1 version. drivers/net/e1000.c | 33 + drivers

[U-Boot] [PATCH] Net: Add Intel E1000 82574L PCIe card support

2011-01-18 Thread Roy Zang
Add Intel E1000 82574L PCIe card support. Test on MPC8544DS and MPC8572 board. Add the missing contact information for future support. Signed-off-by: Roy Zang --- based on commit e1ccf97c5d7651664d37c0c5aa243874b8851b2d drivers/net/e1000.c | 35 +++ drivers

[U-Boot] [PATCH] Adds general Freescale CodeWarrior debug support

2010-10-28 Thread Roy Zang
Signed-off-by: Roy Zang Signed-off-by: adrian bogdan Cc: Wood Scott-B07421 Cc: Kumar Gala --- config.mk |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/config.mk b/config.mk index ce8e5f2..4d4bb59 100644 --- a/config.mk +++ b/config.mk @@ -189,6 +189,10 @@ else

[U-Boot] [PATCH] powerpc: always print the RAM relocated address when boot up

2010-10-21 Thread Roy Zang
The RAM relocated address is useful when debugging or there is u-boot crash dump. So always print it instead of debug. Signed-off-by: Roy Zang Cc: Wood Scott-B07421 --- arch/powerpc/lib/board.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/lib/board.c

[U-Boot] [PATCH] sdhc: use reset value instead of a hardcoded value to set wml

2010-02-24 Thread Roy Zang
From: Roy Zang Use reset value instead of a hardcoded value to set wml. Signed-off-by: Roy Zang --- drivers/mmc/fsl_esdhc.c |8 +--- include/fsl_esdhc.h |4 +++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c

[U-Boot] [PATCH] Enable usb ehci support for p2020ds board

2009-09-09 Thread Roy Zang
From: Roy Zang Enable usb ehci support for p2020ds board Signed-off-by: Roy Zang --- include/configs/P2020DS.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/include/configs/P2020DS.h b/include/configs/P2020DS.h index 46af7b9..2a2b9ac 100644 --- a/include

[U-Boot] [PATCH] Use different PBA value for E1000 PCI and PCIe cards

2009-08-21 Thread Roy Zang
From: Roy Zang Use different PBA value for E1000 PCI and PCIe cards. Signed-off-by: Roy Zang --- Andre, please help to verify it on your board. Thanks. Roy drivers/net/e1000.c | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/net/e1000.c b/drivers

[U-Boot] [PATCH] Fix E1000 build warning on AP1000 board

2009-08-10 Thread Roy Zang
From: Roy Zang Fix E1000 build warning on AP1000 board Fix the build warning on AP1000 board: e1000.c:131: warning: 'e1000_read_eeprom' used but never defined e1000.c:2012: warning: 'e1000_set_phy_mode' defined but not used Signed-off-by: Roy Zang --- driver

Re: [U-Boot] PATCH 2/2] Add pci/pcie E1000 ethernet support for MPC8544DS and MPC8536 boards

2009-07-08 Thread Roy Zang
On Wed, 2009-07-08 at 22:32 +0800, Kumar Gala wrote: > > On Jul 8, 2009, at 3:18 AM, Roy Zang wrote: > > > From: Roy Zang > > > > Add pci/pcie E1000 ethernet support for MPC8544DS and MPC8536 > boards. > > Signed-off-by: Roy Zang > > > &

[U-Boot] PATCH 2/2] Add pci/pcie E1000 ethernet support for MPC8544DS and MPC8536 boards

2009-07-08 Thread Roy Zang
From: Roy Zang Add pci/pcie E1000 ethernet support for MPC8544DS and MPC8536 boards. Signed-off-by: Roy Zang --- include/configs/MPC8536DS.h |1 + include/configs/MPC8540ADS.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/MPC8536DS.h b

[U-Boot] [PATCH 0/2] Add Intel E1000 PCIE cards support

2009-07-08 Thread Roy Zang
These two patches add Intel E1000 PCIE cards support for MPC8544DS/MPC8536DS boards. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] Add pci E1000 Ethernet support for P2020 board

2009-06-29 Thread Roy Zang
From: Roy Zang Add pci E1000 Ethernet support for P2020 board. Signed-off-by: Roy Zang --- board/freescale/p2020ds/p2020ds.c |3 ++- include/configs/P2020DS.h |1 + 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/board/freescale/p2020ds/p2020ds.c b

[U-Boot] [PATCH 3/3] Change PCIE1&2 deciide logic on MPC8544DS board more readable

2009-01-09 Thread Roy Zang
From: Roy Zang The IO port selection for MPC8544DS board: Port cfg_io_ports PCIE1 0x2, 0x3, 0x4, 0x5, 0x6, 0x7 PCIE2 0x4, 0x5, 0x6, 0x7 PCIE3 0x6, 0x7 This patch changes the PCIE12 and PCIE2 logic more readable. Signed-off-by: Roy Zang --- board

[U-Boot] [PATCH 2/3] PCIE2 and PCIE3 are decided by corresponing bit in devdisr instead of PCIE1 bit

2009-01-09 Thread Roy Zang
From: Roy Zang PCIE2 and PCIE3 should be decided by corresponing bit in devdisr instead of PCIE1 bit. On MPC8572DS board, PCIE refers to PCIE1. Signed-off-by: Roy Zang --- board/freescale/mpc8572ds/mpc8572ds.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board

[U-Boot] [PATCH 1/3] Fix IO port selection issue on MPC8544DS and MPC8572DS boards

2009-01-09 Thread Roy Zang
From: Roy Zang The IO port selection is not correct on MPC8572DS and MPC8544DS board. This patch fixes this issue. For MPC8572 Port cfg_io_ports PCIE1 0x2, 0x3, 0x7, 0xb, 0xc, 0xf PCIE2 0x3, 0x7 PCIE3 0x7 For MPC8544 Port

[U-Boot] [PATCH 0/3] Minor fix for io port selection on MPC85xxDS platforms

2009-01-09 Thread Roy Zang
This set of patches fix io port selection on MPC85xxDS platfoms. Please help to pick them up. Roy ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] mpc7448hpc2: Fix PCI I/O space mapping.

2008-08-14 Thread Roy Zang
n the PCI I/O bus. > > Signed-off-by Randy Vinson <[EMAIL PROTECTED]> > --- > board/freescale/mpc7448hpc2/tsi108_init.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) Acked-by: Roy Zang <[EMAIL PROTECTED]> Wol