[U-Boot] [PATCH][v2] net: fman: fix 2.5G SGMII settings

2016-11-14 Thread Shaohui Xie
The settings for 2.5G SGMII are wrong, which the 2.5G case is missed in set_if_mode(), and the serdes PCS configuration are wrong, this patch uses the correct settings took from Linux. Signed-off-by: Shaohui Xie <shaohui@nxp.com> --- changes in v2: 1. code style changes for readabil

[U-Boot] [PATCH] [resend] net: fman: fix 2.5G SGMII settings

2016-11-14 Thread Shaohui Xie
The settings for 2.5G SGMII are wrong, which the 2.5G case is missed in set_if_mode(), and the serdes PCS configuration are wrong, this patch uses the correct settings took from Linux. Signed-off-by: Shaohui Xie <shaohui@nxp.com> --- not sure what was wrong, the patch did no

Re: [U-Boot] [PATCH 5/8] armv8: fsl-layerscape: add define CONFIG_STANDALONE_LOAD_ADDR for standalone app

2016-08-29 Thread Shaohui Xie
> On 08/26/2016 04:40 AM, Gong Qianyu wrote: > > From: Shaohui Xie <shaohui@nxp.com> > > > > The CONFIG_STANDALONE_LOAD_ADDR is set to 0x8030 by default. > > > > Signed-off-by: Shaohui Xie <shaohui@nxp.com> > > Signed-off-by: Gong

Re: [U-Boot] [PATCH 7/8] armv8: ls1046a: disable SATA ECC in DCSR

2016-08-29 Thread Shaohui Xie
> -Original Message- > From: york sun > Sent: Saturday, August 27, 2016 12:08 AM > To: Qianyu Gong <qianyu.g...@nxp.com>; u-boot@lists.denx.de > Cc: Prabhakar Kushwaha <prabhakar.kushw...@nxp.com>; Mingkai Hu > <mingkai...@nxp.com>; Shaohui Xie

Re: [U-Boot] [PATCH 2/2] board/t4240rdb: some ethernet ports shouldn't be detected

2016-04-15 Thread Shaohui Xie
Hi Ying, The commit message should be more clear about what is wrong. Like when using protocols to support 10G on MAC9 and MAC10, these MACs should not be identified as 1G interface, otherwise, one MAC will be Listed as two Ethernet ports, for ex. MAC9 will be listed as FM1@TGEC1 And FM1@DTSEC9.

Re: [U-Boot] [PATCH 1/2] net: phy: introduce a quirk PHY_BROKEN_RESET

2016-01-28 Thread Shaohui Xie
> -Original Message- > From: Joe Hershberger [mailto:joe.hershber...@gmail.com] > Sent: Wednesday, January 27, 2016 11:37 PM > To: shaohui 谢 <shh@gmail.com> > Cc: u-boot <u-boot@lists.denx.de>; Joe Hershberger <joe.hershber...@ni.com>; > Shaohui

Re: [U-Boot] [PATCH 1/3] armv8/ls1043aqds: add DSPI support

2015-12-24 Thread Shaohui Xie
> -Original Message- > From: Gong Qianyu [mailto:qianyu.g...@nxp.com] > Sent: Thursday, December 24, 2015 4:40 PM > To: u-boot@lists.denx.de > Cc: Mingkai Hu; r58...@freescale.com; b48...@freescale.com; > shaohui@freescale.com; wenbin.s...@freescale.com; > b07...@freescale.com; Gong

Re: [U-Boot] [PATCH] eth: dtsec: fix TBI ANA setting bug in dtsec_configure_serdes()

2015-12-13 Thread Shaohui Xie
istinguish SGMII from other connections should be the way to program TBI ANA, This is also follow the AN3869. Best Regards, Shaohui Xie > -Original Message- > From: York Sun [mailto:york...@freescale.com] > Sent: Monday, December 14, 2015 11:55 AM > To: 李远正; Xie Shaohui-B

Re: [U-Boot] [PATCH] eth: dtsec: fix TBI ANA setting bug in dtsec_configure_serdes()

2015-11-25 Thread Shaohui Xie
> -Original Message- > From: York Sun [mailto:york...@freescale.com] > Sent: Thursday, November 26, 2015 1:03 AM > To: Xie Shaohui-B21989; Ciubotariu Codrin Constantin-B43658 > Cc: Yuanzheng Li; u-boot@lists.denx.de; Liu Dave-R63238 > Subject: Re: [PATCH] eth: dtsec: fix TBI ANA setting

Re: [U-Boot] [PATCH] armv8: fsl-layerscape: added XFI protocol support for fsl_lsch3

2015-11-10 Thread Shaohui Xie
Please ignore this patch, I just saw some Freescale internal changes, the patch is obsolete. Best Regards, Shaohui Xie > -Original Message- > From: shh@gmail.com [mailto:shh@gmail.com] > Sent: Tuesday, November 10, 2015 7:12 PM > To: u-boot@lists.denx.de; Sun York

Re: [U-Boot] [PATCH] powerpc/t4240qds: add support of reading Core voltage

2015-10-14 Thread Shaohui Xie
> On 08/25/2015 01:30 AM, shh@gmail.com wrote: > > From: Shaohui Xie <shaohui@freescale.com> > > > > A U-boot CMD vdd_read is implemented to read Core voltage. > > Can you explain why you need this command? You already get the voltage if > you run bdinf

Re: [U-Boot] [Patch v2 07/16] net/fm: fix MDIO controller base on FMAN2

2015-09-18 Thread Shaohui Xie
ubject: Re: [Patch v2 07/16] net/fm: fix MDIO controller base on FMAN2 > > On Thu, 2015-09-17 at 15:06 +0800, Gong Qianyu wrote: > > From: Shaohui Xie <shaohui@freescale.com> > > > > MDIO controller base on FMAN2 was defined as CONFIG_SYS_FSL_FM2_ADDR > >

Re: [U-Boot] [PATCH] t4240qds: apply some updates

2015-04-29 Thread Shaohui Xie
On 04/27/2015 12:28 AM, shh@gmail.com wrote: From: Shaohui Xie shaohui@freescale.com 1. board/freescale/t4qds/t4_rcw.cfg 1.8GHz support is requested as default frequency, so update the rcw. 2. remove un-used configs configs/T4160QDS_SPIFLASH_defconfig configs

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Use GOT when loading IVORs post-relocation

2015-04-24 Thread Shaohui Xie
was not. Use the GOT to get the proper post-relocation offsets. Fixes: 96d2bb952bb (powerpc/mpc85xx: Don't relocate exception vectors) Signed-off-by: Scott Wood scottw...@freescale.com Cc: Alexander Graf ag...@suse.de Cc: Shaohui Xie shaohui@freescale.com --- arch/powerpc/cpu/mpc85xx/start.S

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Use GOT when loading IVORs post-relocation

2015-04-24 Thread Shaohui Xie
Tested on T4240QDS_NAND and T4240QDS_SDCARD, the hang issue fixed. Thanks! Best Regards, Shaohui Xie -Original Message- From: Wood Scott-B07421 Sent: Friday, April 24, 2015 9:02 AM To: u-boot@lists.denx.de; Sun York-R58495 Cc: Wood Scott-B07421; Alexander Graf; Xie Shaohui-B21989

Re: [U-Boot] [PATCH 15/28] net/memac_phy: reuse driver for little endian SoCs

2015-03-19 Thread Shaohui Xie
/* IFC */ #define CONFIG_SYS_FSL_IFC_LE +#define CONFIG_SYS_MEMAC_LITTLE_ENDIAN It seems tedious to have to define this. Can't you just use the functions available? [S.H] To use a define is based on a concern that we cannot assume the I/O access of an IP share same endianness as

Re: [U-Boot] [PATCH 15/28] net/memac_phy: reuse driver for little endian SoCs

2015-03-19 Thread Shaohui Xie
Hello Joe, Thank you for reviewing this patch! Please see inline. Best Regards, Shaohui Xie From: Joe Hershberger [mailto:joe.hershber...@gmail.com] Sent: Friday, March 20, 2015 2:04 AM To: Sun York-R58495 Cc: u-boot; Joe Hershberger; Xie Shaohui-B21989 Subject: Re: [U-Boot] [PATCH 15/28] net

Re: [U-Boot] [PATCH 1/5] powerpc/b4860qds: add xfi support

2014-11-16 Thread Shaohui Xie
This patch series are based on patch: http://patchwork.ozlabs.org/patch/409932/ Best Regards, Shaohui Xie -Original Message- From: shh@gmail.com [mailto:shh@gmail.com] Sent: Thursday, November 13, 2014 11:26 AM To: u-boot@lists.denx.de; Sun York-R58495 Cc: Xie Shaohui

[U-Boot] [PATCH 1/2][v2] powerpc/t2080qds: fixup dtb for 10g-kr

2014-10-20 Thread Shaohui Xie
of the port in hwconfig, otherwise, fiber cable will be assumed to be used for the port. For ex. if four XFI ports will both use copper cable, the hwconfig should contain: fsl_10gkr_copper:fm1_10g1,fm1_10g2,fm1_10g3,fm1_10g4 Signed-off-by: Shaohui Xie shaohui@freescale.com --- changes for V2: add XFI

Re: [U-Boot] [PATCH v3 04/18] net: mdio: Add private MDIO read/write function

2014-08-14 Thread Shaohui Xie
to add private stuff here. Best Regards, Shaohui Xie ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] powerpc/T4240QDS/eth: some fix for XFI

2014-08-12 Thread Shaohui Xie
] OK. I'll put these information include 'hwconfig' settings into README files of T4QDS T2QDS respectively. Thanks! Best Regards, Shaohui Xie ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] powerpc/T4240QDS/eth: fix for XFI

2014-07-25 Thread Shaohui Xie
Please ignore this patch, it has some info only meaningful for Freescale. Best Regards, Shaohui Xie -Original Message- From: shh@gmail.com [mailto:shh@gmail.com] Sent: Friday, July 25, 2014 4:55 PM To: u-boot@lists.denx.de Cc: Xie Shaohui-B21989 Subject: [PATCH] powerpc

Re: [U-Boot] [RFC PATCH] Fix bug in T4240QDS code. Don't access nonexistent registers

2014-07-22 Thread Shaohui Xie
Hi, York, There is already a patch sent upstream to fix this bug, the state is under review. http://patchwork.ozlabs.org/patch/364807/ Best Regards, Shaohui Xie -Original Message- From: Sun York-R58495 Sent: Wednesday, July 23, 2014 5:16 AM To: Xie Shaohui-B21989 Cc: Vasili

Re: [U-Boot] [PATCH] powerpc/t4240: updated RCW and PBI for rev2.0

2014-03-23 Thread Shaohui Xie
Please ignore this patch. Will send a new version. Best Regards, Shaohui Xie -Original Message- From: shh@gmail.com [mailto:shh@gmail.com] Sent: Saturday, March 22, 2014 4:08 PM To: u-boot@lists.denx.de Cc: Xie Shaohui-B21989 Subject: [PATCH] powerpc/t4240: updated RCW

Re: [U-Boot] [PATCH] phy: introduce structure fixed-link

2013-11-21 Thread Shaohui Xie
: From: Shaohui Xie shaohui@freescale.com fixed-link is used in kernel for PHY-less MAC, so introduce this structure that U-boot can use it to fixup dtb dynamically. Signed-off-by: Shaohui Xie shaohui@freescale.com --- include/phy.h | 8 1 file changed, 8 insertions

Re: [U-Boot] [u-boot-release] [PATCH] net/phy: Add Vitesse VSC8514 PHY support

2013-11-20 Thread Shaohui Xie
. Best Regards, Shaohui Xie -Original Message- From: Sharma Bhupesh-B45370 Sent: Wednesday, November 20, 2013 4:31 PM To: 'shh@gmail.com'; 'u-boot@lists.denx.de'; sun york-R58495 Cc: Xie Shaohui-B21989; Goel Arpit-B44344 Subject: RE: [u-boot-release] [PATCH] net/phy: Add

[U-Boot] [PATCH] powerpc/p2041: fix I2C controller's offset

2013-09-10 Thread Shaohui Xie
Without this patch, SPD access will fail which leads to DDR init fail. Signed-off-by: Shaohui Xie shaohui@freescale.com --- include/configs/P2041RDB.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/P2041RDB.h b/include/configs/P2041RDB.h index

[U-Boot] [PATCH 1/3][v3] powerpc/common/vsc3316: remove const from vsc3316_config parameter define

2013-08-19 Thread Shaohui Xie
Since the parameters need to be modified according to different Serdes protocols at runtime, the const will block this. Also remove const from arrays define used by vsc3316_config. Signed-off-by: Shaohui Xie shaohui@freescale.com --- changes for V3: 1. rebased on top of master branch

[U-Boot] [PATCH 1/3][v3] powerpc/common/vsc3316: remove const from vsc3316_config parameter define

2013-08-19 Thread Shaohui Xie
From: Shaohui Xie shaohui@freescale.com Since the parameters need to be modified according to different Serdes protocols at runtime, the const will block this. Also remove const from arrays define used by vsc3316_config. Signed-off-by: Shaohui Xie shaohui@freescale.com --- changes for V3

[U-Boot] [PATCH 2/3] powerpc/t4240: fix lanes routing for QSGMII protocols

2013-08-19 Thread Shaohui Xie
From: Shaohui Xie shaohui@freescale.com When using QSGMII protocols, the first lane and third lane on each slot need to be swapped. Signed-off-by: Shaohui Xie shaohui@freescale.com --- resend for patchwork to catch. board/freescale/t4qds/t4240qds.c | 39

[U-Boot] [PATCH 3/3] powerpc/t4240: add QSGMII interface support

2013-08-19 Thread Shaohui Xie
From: Shaohui Xie shaohui@freescale.com Also some fix for QSGMII. 1. fix QSGMII configure of Serdes2. 2. fix PHY address of QSGMII MAC9 MAC10 for each FMAN. 3. fix dtb for QSGMII interface. Signed-off-by: Shaohui Xie shaohui@freescale.com --- resend for patchwork to catch. arch

[U-Boot] [PATCH 2/3] powerpc/t4qds: fix lanes routing for QSGMII protocols

2013-08-12 Thread Shaohui Xie
When using QSGMII protocols, the first lane and third lane on each slot need to be swapped. Signed-off-by: Shaohui Xie shaohui@freescale.com --- board/freescale/t4qds/t4qds.c | 39 +-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/board

[U-Boot] [PATCH 3/3] powerpc/t4240: add QSGMII interface support

2013-08-12 Thread Shaohui Xie
Also some fix for QSGMII. 1. fix QSGMII configure of Serdes2. 2. fix PHY address of QSGMII MAC9 MAC10 for each FMAN. 3. fix dtb for QSGMII interface. Signed-off-by: Shaohui Xie shaohui@freescale.com --- arch/powerpc/cpu/mpc85xx/t4240_serdes.c | 14 +++--- board/freescale/t4qds/eth.c

[U-Boot] [PATCH][v2] powerpc/common/vsc3316: remove const from vsc3316_config parameter define

2013-08-09 Thread Shaohui Xie
Since the parameters need to be modified according to different Serdes protocols at runtime, the const will block this. Also remove const from arrays define used by vsc3316_config. Signed-off-by: Shaohui Xie shaohui@freescale.com --- changes for V2: 1. changed subject; 2. fix broken on B4xxx

[U-Boot] [PATCH 1/3] powerpc/t4qds: remove const from vsc3316 parameter define

2013-08-08 Thread Shaohui Xie
Since the parameters need to be modified according to different Serdes protocols at runtime, the const will block this. Signed-off-by: Shaohui Xie shaohui@freescale.com --- board/freescale/common/vsc3316_3308.c | 2 +- board/freescale/common/vsc3316_3308.h | 2 +- board/freescale/t4qds

[U-Boot] [PATCH 1/3] powerpc/t4qds: remove const from vsc3316 parameter define

2013-08-08 Thread Shaohui Xie
Since the parameters need to be modified according to different Serdes protocols at runtime, the const will block this. Signed-off-by: Shaohui Xie shaohui@freescale.com --- board/freescale/common/vsc3316_3308.c | 2 +- board/freescale/common/vsc3316_3308.h | 2 +- board/freescale/t4qds

[U-Boot] [PATCH 1/3] powerpc/t4qds: remove const from vsc3316 parameter define

2013-08-08 Thread Shaohui Xie
Since the parameters need to be modified according to different Serdes protocols at runtime, the const will block this. Signed-off-by: Shaohui Xie shaohui@freescale.com --- board/freescale/common/vsc3316_3308.c | 2 +- board/freescale/common/vsc3316_3308.h | 2 +- board/freescale/t4qds

[U-Boot] [PATCH] powerpc/B4860: enable PBL tool for B4860

2013-06-03 Thread Shaohui Xie
Use a default RCW of protocol 0x2A_0x98, and a PBI configure file which uses CPC1 as 512KB SRAM, then PBL tool can be used on B4860 to build a pbl boot image. Signed-off-by: Shaohui Xie shaohui@freescale.com --- board/freescale/b4860qds/b4_pbi.cfg | 27 +++ board

[U-Boot] [PATCH] powerpc/p2041rdb: fix SerDes clock display for RevC RevD boards

2013-05-23 Thread Shaohui Xie
) board has different clock setting on two banks, PCBA can be used to distinguish the boards, PCBA could be increased on RevD(x) board in future, but RevC(x) board will never has PCBA 4. Signed-off-by: Shaohui Xie shaohui@freescale.com --- board/freescale/p2041rdb/p2041rdb.c | 15 ++- 1

[U-Boot] [PATCH] powerpc/p2041rdb: fix SerDes clock display for RevC RevD boards

2013-05-23 Thread Shaohui Xie
) board has different clock setting on two banks, PCBA can be used to distinguish the boards, PCBA could be increased on RevD(x) board in future, but RevC(x) board will never has PCBA 4. Signed-off-by: Shaohui Xie shaohui@freescale.com --- board/freescale/p2041rdb/p2041rdb.c | 15 ++- 1

[U-Boot] [PATCH] powerpc/tools/pblimage: use SYS_TEXT_BASE instead of hardcoded value

2013-03-27 Thread Shaohui Xie
That the pblimage can be built according to the SYS_TEXT_BASE, then building a different size of pblimage is available. Signed-off-by: Shaohui Xie shaohui@freescale.com --- tools/pblimage.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/pblimage.c b/tools

[U-Boot] [PATCH] powerpc/corenet: Add workaround for ELBC multi-bit ECC error

2013-03-19 Thread Shaohui Xie
partition, the file 'file-jffs2' should be page aligned. Signed-off-by: Shaohui Xie shaohui@freescale.com --- resent due to patch work did not capture the patch. arch/powerpc/cpu/mpc85xx/cmd_errata.c | 3 +++ arch/powerpc/cpu/mpc85xx/cpu_init.c | 10 ++ arch/powerpc/include/asm

[U-Boot] [PATCH] powerpc/corenet: Add workaround for ELBC multi-bit ECC error

2013-03-19 Thread Shaohui Xie
partition, the file 'file-jffs2' should be page aligned. Signed-off-by: Shaohui Xie shaohui@freescale.com --- Sorry! I have to resent since I still cannot find the patch in patch work. arch/powerpc/cpu/mpc85xx/cmd_errata.c | 3 +++ arch/powerpc/cpu/mpc85xx/cpu_init.c | 10 ++ arch

[U-Boot] [PATCH 1/2] powerpc/t4240qds: Fix SPI flash type

2013-01-29 Thread Shaohui Xie
T4240QDS uses a SST instead of SPANSION SPI flash. Signed-off-by: Shaohui Xie shaohui@freescale.com --- include/configs/t4qds.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/t4qds.h b/include/configs/t4qds.h index d58c24c..b3eaf5d 100644

[U-Boot] [PATCH 2/2] powerpc/t4240qds: fix XAUI card PHY address

2013-01-29 Thread Shaohui Xie
Signed-off-by: Shaohui Xie shaohui@freescale.com Signed-off-by: Roy Zang tie-fei.z...@freescale.com --- include/configs/t4qds.h |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/configs/t4qds.h b/include/configs/t4qds.h index b3eaf5d..5f0286d 100644

[U-Boot] [PATCH] powerpc/Fman/mEMAC: mEMAC fix for 10G MAC and PHY

2013-01-29 Thread Shaohui Xie
1. use Payload length check disable when enable MAC; 2. add XGMII support for setting MAC interface mode; 3. only enable auto negotiation for Non-XGMII mode; 4. return 0x if clause 22 is used to read 10G phy_id; Signed-off-by: Shaohui Xie shaohui@freescale.com Signed-off-by: Roy Zang tie

[U-Boot] [PATCH] powerpc/corenet: Add workaround for ELBC multi-bit ECC error

2013-01-28 Thread Shaohui Xie
partition, the file 'file-jffs2' should be page aligned. Signed-off-by: Shaohui Xie shaohui@freescale.com --- arch/powerpc/cpu/mpc85xx/cmd_errata.c |3 +++ arch/powerpc/cpu/mpc85xx/cpu_init.c | 10 ++ arch/powerpc/include/asm/config_mpc85xx.h |4 3 files changed, 17

[U-Boot] [PATCH] powerpc/p5040: fix mdio mux for 10G port

2013-01-28 Thread Shaohui Xie
we use dynamic index for 10G ports instead of hardcoded enum value when doing mdio mux for 10G ports. Signed-off-by: Shaohui Xie shaohui@freescale.com --- board/freescale/corenet_ds/eth_superhydra.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/board

[U-Boot] [PATCH] powerpc/corenet: set USB2 default mode to 'device' for (super)hydra boards

2013-01-28 Thread Shaohui Xie
this, we change the default setting to peripheral mode. Ideally, we'd set it to OTG mode, but currently there is no OTG support for these boards. Setting the hwconfig variable will also update the device tree, and so Linux will configure the port for peripheral mode as well. Signed-off-by: Shaohui

[U-Boot] [PATCH][v2] powerpc/p2041: fix serdes reference clock frequency display for PC board

2013-01-24 Thread Shaohui Xie
PC board has different serdes clock setting with PB board, it uses same serdes frequency setting on bank2 as on bank1. PC board can be distingushed from PB board by checking CPLD version, if running on PC board, then fix the serdes reference clock frequency of bank2. Signed-off-by: Shaohui Xie

[U-Boot] [PATCH] powerpc/p2041: fix serdes reference clock frequency for PC board

2013-01-23 Thread Shaohui Xie
PC board has different serdes clock setting with PB board, it uses same serdes frequency setting on bank2 as on bank1. PC board can be distingushed from PB board by checking CPLD version, if running on PC board, then fix the serdes reference clock frequency of bank2. Signed-off-by: Shaohui Xie

[U-Boot] [PATCH] powerpc/85xx: add missing QMAN frequency calculation

2013-01-23 Thread Shaohui Xie
When CONFIG_SYS_FSL_QORIQ_CHASSIS2 is not defined, QMAN frequency will not be initialized, and QMAN will have a wrong frequency display. Signed-off-by: Shaohui Xie shaohui@freescale.com --- arch/powerpc/cpu/mpc85xx/speed.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff

[U-Boot] [PATCH][v2] powerpc/p5040: enable NAND/SD/SPI boot support

2013-01-18 Thread Shaohui Xie
Also update README.pblimage for p5040. Signed-off-by: Shaohui Xie shaohui@freescale.com --- changes for v2: 1. merge NAND/SD/SPI to one patch; 2. update README.pblimage for p5040; boards.cfg |3 +++ doc/README.pblimage |6 +++--- 2 files changed, 6 insertions(+), 3

[U-Boot] [PATCH] powerpc/p5040: enable PBL tool support

2013-01-17 Thread Shaohui Xie
Provided a default RCW for P5040, then it can use PBL to build ramboot image. Signed-off-by: Shaohui Xie shaohui@freescale.com --- board/freescale/corenet_ds/rcw_p5040ds.cfg | 11 +++ include/configs/corenet_ds.h |2 ++ 2 files changed, 13 insertions(+), 0

[U-Boot] [PATCH 2/3] powerpc/p5040: enable SD boot support

2013-01-15 Thread Shaohui Xie
Signed-off-by: Shaohui Xie shaohui@freescale.com --- boards.cfg |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/boards.cfg b/boards.cfg index 8cf4936..314afa2 100644 --- a/boards.cfg +++ b/boards.cfg @@ -856,6 +856,7 @@ P5020DS_SPIFLASH powerpc mpc85xx

[U-Boot] [PATCH 1/3] powerpc/p5040: enable NAND boot support

2013-01-15 Thread Shaohui Xie
Signed-off-by: Shaohui Xie shaohui@freescale.com --- boards.cfg |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/boards.cfg b/boards.cfg index e4b0d44..8cf4936 100644 --- a/boards.cfg +++ b/boards.cfg @@ -855,6 +855,7 @@ P5020DS_SECURE_BOOT powerpc mpc85xx

[U-Boot] [PATCH 3/3] powerpc/p5040: enable SPI boot support

2013-01-15 Thread Shaohui Xie
Signed-off-by: Shaohui Xie shaohui@freescale.com --- boards.cfg |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/boards.cfg b/boards.cfg index 314afa2..710942f 100644 --- a/boards.cfg +++ b/boards.cfg @@ -857,6 +857,7 @@ P5020DS_SRIO_PCIE_BOOT powerpc

[U-Boot] [PATCH] net/phy: fix select line for TN80xx

2012-12-17 Thread Shaohui Xie
TN80xx has same PHY ID as TN2020, but it needs different setting to register 30.93 which used to select line, so we read register 30.32 which has bit 15:12 to indicate PHY hardware version, for TN20xx we will get 3 or 2, for TN80xx we will get 5 or 4. Signed-off-by: Shaohui Xie shaohui

[U-Boot] [PATCH] powerpc/p2041: move Lanes mux to board early init

2012-12-04 Thread Shaohui Xie
Lanes mux currently is configured in eth.c when initializing FMAN ethernet ports, but SRIO and PCIe also need lanes mux, so we move the lanes mux to p2041rdb.c which implements a board-specific initialization and will be called at early stage. Signed-off-by: Shaohui Xie shaohui@freescale.com

[U-Boot] [PATCH] powerpc/fm: fix TBI PHY address settings

2012-10-12 Thread Shaohui Xie
From: shaohui xie shaohui@freescale.com TBI PHY address (TBIPA) register is set in general frame manager phy init funciton dtsec_init_phy() in drivers/net/fm/eth.c, and it is supposed to set TBIPA on FM1@DTSEC1 in case of FM1@DTSEC1 isn't used directly, which provides MDIO for other ports. So

[U-Boot] [PATCH] powerpc/espi: remove write command length check

2012-10-12 Thread Shaohui Xie
command is not necessary for SPANSION, though it's harmless for SPANSION, it will stop write operation on flashes like SST, so we remove the check. Signed-off-by: Shaohui Xie shaohui@freescale.com --- drivers/spi/fsl_espi.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH][v4] powerpc/CoreNet: add tool to support pbl image build.

2012-08-10 Thread Shaohui Xie
Provides a tool to build boot Image for PBL(Pre boot loader) which is used on Freescale CoreNet SoCs, PBL can be used to load some instructions and/or data for pre-initialization. The default output image is u-boot.pbl, for more details please refer to doc/README.pblimage. Signed-off-by: Shaohui

[U-Boot] [PATCH] powerpc/p2041: configure the CPLD lane_mux according to RCW

2012-06-29 Thread Shaohui Xie
-by: Shaohui Xie shaohui@freescale.com Acked-by: Timur Tabi ti...@freescale.com --- board/freescale/p2041rdb/eth.c | 39 +++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/board/freescale/p2041rdb/eth.c b/board/freescale/p2041rdb/eth.c index

[U-Boot] [PATCH][v3] powerpc/CoreNet: add tool to support pbl image build.

2012-06-12 Thread Shaohui Xie
Provides a tool to build boot Image for PBL(Pre boot loader) which is used on Freescale CoreNet SoCs, PBL can be used to load some instructions and/or data for pre-initialization. The default output image is u-boot.pbl, for more details please refer to doc/README.pblimage. Signed-off-by: Shaohui

[U-Boot] [PATCH][v2] powerpc/CoreNet: add tool to support pbl image build.

2012-06-06 Thread Shaohui Xie
Provides a tool to build boot Image for PBL(Pre boot loader) which is used on Freescale CoreNet SoCs, PBL can be used to load some instructions and/or data for pre-initialization. The default output image is u-boot.pbl, for more details please refer to doc/README.pblimage. Signed-off-by: Shaohui

[U-Boot] [PATCH] powerpc/CoreNet: add tool to support pbl image build.

2012-06-04 Thread Shaohui Xie
From: Shaohui Xie b21...@freescale.com Provides a tool to build boot Image for PBL(Pre boot loader) which is used on Freescale CoreNet SoCs, PBL can be used to load some instructions and/or data for pre-initialization. The default output image is u-boot.pbl, for more details please refer to doc

[U-Boot] [PATCH 2/2] powerpc/p2041rdb: add env in NAND support

2012-02-29 Thread Shaohui Xie
Add env in NAND support when boot from NAND. Signed-off-by: Shaohui Xie shaohui@freescale.com --- include/configs/P2041RDB.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/configs/P2041RDB.h b/include/configs/P2041RDB.h index 501726c..fe39d4e 100644

[U-Boot] [PATCH 1/2] powerpc/p2041rdb: add NAND and NAND boot support

2012-02-29 Thread Shaohui Xie
New P2041RDB board will add a NAND chip, so add support for NAND and NAND boot. Signed-off-by: Shaohui Xie shaohui@freescale.com --- boards.cfg |1 + include/configs/P2041RDB.h | 54 +-- 2 files changed, 52 insertions(+), 3

[U-Boot] [PATCH] p2041rdb: fix serdes clock map

2011-12-01 Thread Shaohui Xie
mode right setting of SERDES Reference Clocks Bank2: SW2[5:6] = OFF OFF =100MHz for PCI mode SW2[5:6] = OFF ON =125MHz for SGMII mode SW2[5:6] = ON OFF =156.25MHZ Signed-off-by: Shaohui Xie shaohui@freescale.com --- board/freescale/p2041rdb/p2041rdb.c | 25

[U-Boot] [PATCH] powerpc/usb: fix usb mode and phy_type

2011-11-04 Thread Shaohui Xie
-off-by: Shaohui Xie shaohui@freescale.com --- arch/powerpc/cpu/mpc8xxx/fdt.c | 40 +++- 1 files changed, 19 insertions(+), 21 deletions(-) diff --git a/arch/powerpc/cpu/mpc8xxx/fdt.c b/arch/powerpc/cpu/mpc8xxx/fdt.c index 112c603..a2b56ae 100644

[U-Boot] [PATCH] spi/eon: add support for new EON spi flash EN25Q32B

2011-09-27 Thread Shaohui Xie
Signed-off-by: Shaohui Xie shaohui@freescale.com --- drivers/mtd/spi/eon.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/eon.c b/drivers/mtd/spi/eon.c index 806b44e..4c64494 100644 --- a/drivers/mtd/spi/eon.c +++ b/drivers/mtd/spi/eon.c

[U-Boot] [PATCH] powerpc/p2041rdb: add more ddr frequencies support

2011-09-21 Thread Shaohui Xie
This table covers DDR frequencies from 666 to 1666. Frequencies 666, 833, 1000, 1066 and 1333 were verified on this board with SO-DIMM (UG51U6400N8SU-ACF). Signed-off-by: Shaohui Xie shaohui@freescale.com --- board/freescale/p2041rdb/ddr.c |5 - 1 files changed, 4 insertions(+), 1

[U-Boot] [PATCH 1/2] powerpc/p2041: update cpld reset command according to CPLD 2.0

2011-09-15 Thread Shaohui Xie
CPLD 2.0 provides a new register which bit[0] is set to '1' will reset board with initializing the CPLD registers to default values. And add bit[6] of register at offset 0x5 to use to enable flash bank selection . Signed-off-by: Shaohui Xie shaohui@freescale.com --- board/freescale/p2041rdb

[U-Boot] [PATCH 2/2] powerpc/p2041: set sysclk according to status of physical switch SW1

2011-09-15 Thread Shaohui Xie
P2041RDB supports 3 sysclk frequencies, it's selected by SW1[6~8], software need to read the SW1 status to decide what the sysclk needs. SW1[8~6] : frequency 0 0 1 : 83.3MHz 0 1 0 : 100MHz others: 66.667MHz Signed-off-by: Shaohui Xie shaohui@freescale.com --- board/freescale/p2041rdb/cpld.h

[U-Boot] [PATCH] Powerpc/85xx: set liodn for srio in device tree

2011-08-18 Thread Shaohui Xie
a device have mutilple liodns. Reported-and-tested-by: Diana CRACIUN diana.crac...@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- arch/powerpc/cpu/mpc85xx/liodn.c | 20 +--- arch/powerpc/cpu/mpc85xx/p2041_ids.c |8 arch/powerpc/cpu

[U-Boot] [PATCH][v3] powerpc/85xx: enable USB2 gadget mode for corenet ds board

2011-07-28 Thread Shaohui Xie
to make USB2 worked in gadget mode, we need to set it's 'dr_mode' to 'peripheral' in hwconfig, but driver starts scan from 'usb1', it'll break out if it cannot find 'usb1', so drop the 'else' clause to make driver scan all the 'usbx'. Signed-off-by: Shaohui Xie shaohui@freescale.com

[U-Boot] [PATCH][v2] powerpc/85xx: enable USB2 gadget mode for corenet ds board

2011-07-18 Thread Shaohui Xie
to make USB2 worked in gadget mode, we need to set it's 'dr_mode' to 'peripheral' in hwconfig, but driver starts scan from 'usb1', it'll break if it cannot find 'usb1', so we need to tell driver do not break until it scaned all the 'usbx' that the board may have. Signed-off-by: Shaohui Xie

[U-Boot] [PATCH] powerpc/85xx: enanle USB2 gadget mode for corenet ds board

2011-07-13 Thread Shaohui Xie
Signed-off-by: Shaohui Xie shaohui@freescale.com --- arch/powerpc/cpu/mpc8xxx/fdt.c |3 ++- board/freescale/corenet_ds/corenet_ds.c |1 + include/configs/corenet_ds.h|2 ++ 3 files changed, 5 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/cpu/mpc8xxx

[U-Boot] [PATCH] powerpc/85xx: Add NAND boot support for P3041/P5020DS

2011-05-23 Thread Shaohui Xie
When booting from NAND we get the environment from NAND. Signed-off-by: Shaohui Xie b21...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- boards.cfg |2 ++ include/configs/corenet_ds.h | 29 +++-- 2 files changed, 25

[U-Boot] [PATCH][v2] powerpc/85xx: Add NAND boot support for P3041/P5020DS

2011-05-23 Thread Shaohui Xie
When booting from NAND we get the environment from NAND. Signed-off-by: Shaohui Xie b21...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- changes for v2: move _NAND up to sorted by alpha. boards.cfg |2 ++ include/configs/corenet_ds.h | 29

[U-Boot] [PATCH 1/2] powerpc/85xx: Enable eSPI support on corenet ds boards

2011-05-12 Thread Shaohui Xie
Signed-off-by: Shaohui Xie b21...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- include/configs/corenet_ds.h | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h index d1cda15

[U-Boot] [PATCH 2/2] powerpc/85xx: add support for env in MMC/SPI on corenet ds boards

2011-05-12 Thread Shaohui Xie
Signed-off-by: Shaohui Xie b21...@freescale.com --- board/freescale/common/Makefile |2 ++ boards.cfg |7 ++- include/configs/corenet_ds.h| 30 ++ 3 files changed, 30 insertions(+), 9 deletions(-) diff --git a/board/freescale

[U-Boot] [PATCH][v4] powerpc: eSPI and eSPI controller support

2011-04-26 Thread Shaohui Xie
From: Mingkai Hu mingkai...@freescale.com Signed-off-by: Mingkai Hu mingkai...@freescale.com Singed-off-by: Jerry Huang chang-ming.hu...@freescale.com Signed-off-by: Shaohui Xie b21...@freescale.com Cc: Mike Frysinger vap...@gentoo.org changes for v2: remove #ifdef wrapper and refactor

[U-Boot] [PATCH][v5] powerpc: eSPI and eSPI controller support

2011-04-26 Thread Shaohui Xie
From: Mingkai Hu mingkai...@freescale.com Signed-off-by: Mingkai Hu mingkai...@freescale.com Singed-off-by: Jerry Huang chang-ming.hu...@freescale.com Signed-off-by: Shaohui Xie b21...@freescale.com Cc: Mike Frysinger vap...@gentoo.org --- changes for v2: remove #ifdef wrapper and refactor

[U-Boot] [PATCH 1/2][v3] powerpc: eSPI and eSPI controller support

2011-04-22 Thread Shaohui Xie
From: Mingkai Hu mingkai...@freescale.com Signed-off-by: Mingkai Hu mingkai...@freescale.com Singed-off-by: Jerry Huang chang-ming.hu...@freescale.com Signed-off-by: Shaohui Xie b21...@freescale.com Cc: Mike Frysinger vap...@gentoo.org --- changes for v2: remove #ifdef wrapper and refactor

[U-Boot] [PATCH 2/2][v3] powerpc: make espi can read more than 0xFFFA bytes

2011-04-22 Thread Shaohui Xie
espi flash read returns invalid data if the read length is more than 0xFFFA bytes, it supports maximum transaction of 2^16 bytes at a time, resister spcom[TRANLEN] is 16 bits. If the transaction length is greater than 0x, it need to be split into multiple transactions. Signed-off-by: Shaohui

[U-Boot] [PATCH 1/2][v2] powerpc: eSPI and eSPI controller support

2011-04-21 Thread Shaohui Xie
From: Mingkai Hu mingkai...@freescale.com Signed-off-by: Mingkai Hu mingkai...@freescale.com Singed-off-by: Jerry Huang chang-ming.hu...@freescale.com Signed-off-by: Shaohui Xie b21...@freescale.com Cc: Mike Frysinger vap...@gentoo.org --- changes for v2: remove #ifdef wrapper and refactor

[U-Boot] [PATCH 2/2][v2] powerpc: make espi can read more than 0xFFFA bytes

2011-04-21 Thread Shaohui Xie
espi flash read returns invalid data if the read length is more than 0xFFFA bytes, it supports maximum transaction of 2^16 bytes at a time, resister spcom[TRANLEN] is 16 bits. If the transaction length is greater than 0x, it need to be split into multiple transactions. Signed-off-by: Shaohui

[U-Boot] [PATCH] sf: spansion: add support for new spansion flash

2011-04-21 Thread Shaohui Xie
Signed-off-by: Shaohui Xie b21...@freescale.com Cc: Mike Frysinger vap...@gentoo.org --- drivers/mtd/spi/spansion.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/spansion.c b/drivers/mtd/spi/spansion.c index a3401b3..8835e96 100644 --- a/drivers

[U-Boot] [PATCH 2/2] powerpc: make espi can read more than 0xFFFA bytes

2011-03-18 Thread Shaohui Xie
espi flash read returns invalid data if the read length is more than 0xFFFA bytes, it supports maximum transaction of 2^16 bytes at a time, resister spcom[TRANLEN] is 16 bits. If the transaction length is greater than 0x, it need to be split into multiple transactions. Signed-off-by: Shaohui

[U-Boot] [PATCH 1/2] P4080/PBL: add support for boot from SPI flash.

2011-03-15 Thread Shaohui Xie
...@freescale.com Signed-off-by: Mingkai Hu mingkai...@freescale.com Signed-off-by: Shaohui Xie b21...@freescale.com Signed-off-by: Roy Zang tie-fei.z...@freescale.com --- arch/powerpc/cpu/mpc85xx/cpu_init.c | 19 +++ board/freescale/corenet_ds/tlb.c| 12 +++- boards.cfg

[U-Boot] [PATCH 2/2] P4080/PBL: add tool to support pbl image build.

2011-03-15 Thread Shaohui Xie
The tool can build u-boot image which can be used by PBL, run make P4080DS_RAMBOOT_PBL can make all works done, the default output image is u-boot.pbl, for more details please refer to doc/README.pblimage. Signed-off-by: Shaohui Xie b21...@freescale.com --- Makefile

[U-Boot] [PATCH 1/2] powerpc: eSPI and eSPI controller support

2011-03-15 Thread Shaohui Xie
-by: Shaohui Xie b21...@freescale.com Cc: Mike Frysinger vap...@gentoo.org --- this patch is rebased on Mike's sf unify patches. drivers/mtd/spi/spi_flash.c | 45 drivers/spi/Makefile|1 + drivers/spi/fsl_espi.c | 237 +++ include/spi.h

[U-Boot] [PATCH][v3] PBL: add support for boot from SPI flash.

2011-01-11 Thread Shaohui Xie
...@freescale.com Signed-off-by: Mingkai Hu mingkai...@freescale.com Signed-off-by: Shaohui Xie b21...@freescale.com --- Use CONFIG_RAMBOOT_PBL instead of CONFIG_PBL_BOOT_INDIRECT according to Kumar's comment. arch/powerpc/cpu/mpc85xx/cpu_init.c | 19 +++ board/freescale/corenet_ds

[U-Boot] [PATCH 1/2][v2] PBL: add support for boot from SPI flash.

2010-11-16 Thread Shaohui Xie
PBL: SPI flash used as RCW and PBI source, CPC used as 1M SRAM where PBL will copy whole U-BOOT image to, U-boot can boot from CPC after PBL completes RCW and PBI phases. Signed-off-by: Chunhe Lan b25...@freescale.com Signed-off-by: Mingkai Hu mingkai...@freescale.com Signed-off-by: Shaohui Xie

[U-Boot] [PATCH 2/2][v2] Add readme of how to boot from espi flash for p4080ds.

2010-11-16 Thread Shaohui Xie
Signed-off-by: Shaohui Xie b21...@freescale.com --- doc/README.espi-boot-p4080ds | 85 ++ 1 files changed, 85 insertions(+), 0 deletions(-) create mode 100644 doc/README.espi-boot-p4080ds diff --git a/doc/README.espi-boot-p4080ds b/doc/README.espi-boot

[U-Boot] [PATCH 2/2] Add readme of how to boot from espi flash for p4080ds.

2010-11-11 Thread Shaohui Xie
Signed-off-by: Shaohui Xie b21...@freescale.com --- doc/README.espi-boot-p4080ds | 82 ++ 1 files changed, 82 insertions(+), 0 deletions(-) create mode 100644 doc/README.espi-boot-p4080ds diff --git a/doc/README.espi-boot-p4080ds b/doc/README.espi-boot

[U-Boot] [PATCH 1/2] PBL: add support for boot from SPI flash.

2010-11-11 Thread Shaohui Xie
...@freescale.com Signed-off-by: Mingkai Hu mingkai...@freescale.com Signed-off-by: Shaohui Xie b21...@freescale.com --- arch/powerpc/cpu/mpc85xx/cpu_init.c | 25 + board/freescale/corenet_ds/config.mk | 6 ++ board/freescale/corenet_ds/tlb.c |9