[U-Boot] [PATCH] board/p1010rdb: add pin mux and sdhc support in any boot

2013-06-03 Thread Shengzhou Liu
If "esdhc" is configured in hwconfig, u-boot will configure multiplexing pins from default IFC to SDHC in runtime to enable SD function. And add minimal necessary mux command for ifc/sdhc/ulpi to conveniently configure multiplexing pins without reboot or updating u-boot. Signed-off-by:

[U-Boot] [PATCH v2] board/p1010rdb: add pin mux and sdhc support in any boot

2013-06-16 Thread Shengzhou Liu
n. And add minimal necessary mux command for ifc/sdhc/ulpi to conveniently configure multiplexing pins without reboot or updating u-boot. Signed-off-by: Shengzhou Liu --- v2: updated description. board/freescale/p1010rdb/p1010rdb.c | 128 +--- include/configs/

[U-Boot] [PATCH] powerpc/t2080qds: some update for t2080qds

2013-12-19 Thread Shengzhou Liu
- add more serdes protocols support. - fix some serdes lanes route. - correct boot location info for SD/SPI boot. Signed-off-by: Shengzhou Liu --- board/freescale/t2080qds/t2080qds.c | 66 + 1 file changed, 60 insertions(+), 6 deletions(-) diff --git a/board

[U-Boot] [PATCH] powerpc/T208xQDS: add mtdparts suppport

2013-12-24 Thread Shengzhou Liu
We use dynamical mtdparts partition instead of directly puting mtd partitions nodes in device tree. Signed-off-by: Shengzhou Liu --- include/configs/T2080QDS.h | 13 + 1 file changed, 13 insertions(+) diff --git a/include/configs/T2080QDS.h b/include/configs/T2080QDS.h index

[U-Boot] [PATCH] powerpc/t2080qds: some update for t2080qds

2013-12-30 Thread Shengzhou Liu
- add more serdes protocols support. - fix some serdes lanes route. - fix SGMII doesn't work and incorrect mdio display for XFI when serdes 0x6d. - correct boot location info for SD/SPI boot. Signed-off-by: Shengzhou Liu --- board/freescale/t2080qds/eth_t2080qds.c | 11 +- board/free

[U-Boot] [PATCH] powerpc/t208x: enable erratum a006379 for t208x

2014-01-02 Thread Shengzhou Liu
Erratum A006379 applies to T2080/T2081 also. Signed-off-by: Shengzhou Liu --- arch/powerpc/include/asm/fsl_errata.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/fsl_errata.h b/arch/powerpc/include/asm/fsl_errata.h index 8af6751..671296a 100644

[U-Boot] [PATCH v2] powerpc/t2080qds: some update for t2080qds

2014-01-02 Thread Shengzhou Liu
- add more serdes protocols support. - fix some serdes lanes route. - fix SGMII doesn't work and incorrect mdio display for XFI when serdes 0x6d. - correct boot location info for SD/SPI boot. Signed-off-by: Shengzhou Liu --- v2: update to support more serdes, applied in Gerrit sdk.

[U-Boot] [PATCH] powerpc/85xx: update erratum a006379

2014-01-05 Thread Shengzhou Liu
Enable Erratum A006379 for T2080, T2081, T4160, B4420. Signed-off-by: Shengzhou Liu --- arch/powerpc/include/asm/fsl_errata.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/fsl_errata.h b/arch/powerpc/include/asm/fsl_errata.h index 8af6751

[U-Boot] [PATCH] t2080qds/ddr: update ddr parameters

2014-01-06 Thread Shengzhou Liu
- Optimize UDIMM parameters for whole range from 1500MT/s to 2140MT/s. - Remove unused patameters: 'cpo', 'wrdata delay', '2T', which are unrelated to DDR3/3L. Signed-off-by: Shengzhou Liu --- board/freescale/t2080qds/ddr.c | 12 ++-- board

[U-Boot] [PATCH] net/fm: fix ft_fixup_xgec with checking enablement

2014-01-08 Thread Shengzhou Liu
We should check if the 10G port is enabled when we update dynamically the corresponding dual-role MAC node in device tree. Signed-off-by: Shengzhou Liu --- drivers/net/fm/init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/fm/init.c b/drivers/net/fm/init.c

[U-Boot] [PATCH v3] t2080qds/ddr: update ddr parameters

2014-01-12 Thread Shengzhou Liu
- Optimize UDIMM parameters for whole range from 1500MT/s to 2140MT/s. - Remove unused patameters: 'cpo', 'wrdata delay', '2T', which are unrelated to DDR3/3L. Tested with UDIMM 9JSF25672AZ-2G1K1 and verified speed 1200/1866/2133MT/s. Signed-off-by: Shengzhou Liu

[U-Boot] [PATCH] net/fm: revert commit 732dfe090d50af53bb682d0c8971784f8de1f90f

2014-01-13 Thread Shengzhou Liu
This patch reverts patch 'add ft_fixup_xgec to support 3rd and 4th 10GEC'. When dual-role MAC acts as 10G,it still uses fsl,fman-port-1g-rx/tx as before. Signed-off-by: Shengzhou Liu --- drivers/net/fm/init.c | 53 +-- 1 file changed, 1

[U-Boot] [PATCH 1/2] powerpc/t208x: some update to support t2081

2014-01-20 Thread Shengzhou Liu
- fix serdes definition for t2081. - fix clock speed for t2081. - update ids, as CONFIG_FSL_SATA_V2 is needed only for t2080, T2081 has no SATA. Signed-off-by: Shengzhou Liu --- arch/powerpc/cpu/mpc85xx/speed.c| 3 ++- arch/powerpc/cpu/mpc85xx/t2080_ids.c| 2 ++ arch/powerpc/cpu

[U-Boot] [PATCH 2/2] powerpc/t2081qds: Add T2081 QDS board support

2014-01-20 Thread Shengzhou Liu
SR-IOV) - eSDHC: - Supports various SD/SDHC/SDXC/eMMC devices with adapter cards and voltage translators - I2C: - Four I2C controllers. - UART: - Dual 4-pins UART serial ports Signed-off-by: Shengzhou Liu --- board/freescale/{t2080qds => t208xqds}/Makefile| 6 +- board/freesc

[U-Boot] [PATCH 2/2] powerpc/t2081qds: Add T2081 QDS board support

2014-01-20 Thread Shengzhou Liu
SR-IOV) - eSDHC: - Supports various SD/SDHC/SDXC/eMMC devices with adapter cards and voltage translators - I2C: - Four I2C controllers. - UART: - Dual 4-pins UART serial ports Signed-off-by: Shengzhou Liu --- board/freescale/{t2080qds => t208xqds}/Makefile| 6 +- board/freesc

[U-Boot] [PATCH] powerpc/p1010rdb: update mux config of p1010rdb board

2012-04-26 Thread Shengzhou Liu
On p1010rdb some signals are muxed for tdm/can/uart/flash. If we don't set fsl_p1010mux:tdm_can to "can" or "tdm" explicitly, defaultly we keep spi chip selection to spi-flash instead of to tdm/slic and disable uart1 when not using flexcan, as well disable sdhc. Sig

[U-Boot] [PATCH][SDK1.2] powerpc/p1010rdb: add readme document for p1010rdb

2012-04-28 Thread Shengzhou Liu
Signed-off-by: Shengzhou Liu --- doc/README.p1010rdb | 147 +++ 1 files changed, 147 insertions(+), 0 deletions(-) create mode 100644 doc/README.p1010rdb diff --git a/doc/README.p1010rdb b/doc/README.p1010rdb new file mode 100644 index 000

[U-Boot] [PATCH] powerpc/p1010rdb: add readme document for p1010rdb

2012-05-02 Thread Shengzhou Liu
Signed-off-by: Shengzhou Liu --- doc/README.p1010rdb | 138 +++ 1 files changed, 138 insertions(+), 0 deletions(-) create mode 100644 doc/README.p1010rdb diff --git a/doc/README.p1010rdb b/doc/README.p1010rdb new file mode 100644 index 000

[U-Boot] [PATCH v2] powerpc/p1010rdb: add readme document for p1010rdb

2012-05-03 Thread Shengzhou Liu
Signed-off-by: Shengzhou Liu --- doc/README.p1010rdb | 200 +++ 1 files changed, 200 insertions(+), 0 deletions(-) create mode 100644 doc/README.p1010rdb diff --git a/doc/README.p1010rdb b/doc/README.p1010rdb new file mode 100644 index 000

[U-Boot] [PATCH] powerpc/p1010rdb: add readme document for p1010rdb

2012-05-03 Thread Shengzhou Liu
Signed-off-by: Shengzhou Liu --- board/freescale/p1010rdb/README | 212 +++ 1 files changed, 212 insertions(+), 0 deletions(-) create mode 100644 board/freescale/p1010rdb/README diff --git a/board/freescale/p1010rdb/README b/board/freescale/p1010rdb/README

[U-Boot] [PATCH] powerpc/t2081qds: Add T2081 QDS board support

2014-02-17 Thread Shengzhou Liu
: - Supports various SD/SDHC/SDXC/eMMC devices with adapter cards and voltage translators - I2C: - Four I2C controllers. - UART: - Dual 4-pins UART serial ports Signed-off-by: Shengzhou Liu --- board/freescale/{t2080qds => t208xqds}/Makefile| 6 +- board/freescale/{t2080qds => t2

[U-Boot] [PATCH v2] powerpc/t2081qds: Add T2081 QDS board support

2014-02-19 Thread Shengzhou Liu
: - Supports various SD/SDHC/SDXC/eMMC devices with adapter cards and voltage translators - I2C: - Four I2C controllers. - UART: - Dual 4-pins UART serial ports Signed-off-by: Shengzhou Liu --- v2: some update for serdes and network configuration. board/freescale/{t2080qds => t208x

[U-Boot] [PATCH 3/3] net/phy: Add support for CS4315/CS4340 PHY

2014-03-05 Thread Shengzhou Liu
Add support for Cortina CS4315/CS4340 10G PHY. - This driver loads CS43xx firmware to initialize Cortina PHY. - To define macro CONFIG_PHY_CORTINA will enable this driver. - Cortina PHY has non-standard offset of PHY ID registers, so define own get_phy_id function. Signed-off-by: Shengzhou Liu

[U-Boot] [PATCH 2/3] net/phy: update get_phy_device_by_mask to probe more 10G PHY

2014-03-05 Thread Shengzhou Liu
In function get_phy_device_by_mask(), when trying Clause 45, we should extend the value of devad(used in create_phy_by_mask) to zero to cover more PHYs (e.g. devad must be 0 for CS4315 PHY). Signed-off-by: Shengzhou Liu --- drivers/net/phy/phy.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[U-Boot] [PATCH 1/3] net/phy: enable get_phy_id redefinable

2014-03-05 Thread Shengzhou Liu
As some PHYs have non-standard PHY ID registers, PHY Id can't be read correctly by current get_phy_id function, so we enable get_phy_id redefinable to permit specific PHY driver having own specific get_phy_id function. Signed-off-by: Shengzhou Liu --- drivers/net/phy/phy.c | 5 - 1

[U-Boot] [PATCH] powerpc/t208xqds: fixup for t208xqds

2014-03-06 Thread Shengzhou Liu
- change QIXIS timing parameter CONFIG_SYS_CS3_FTIM2 to 8 from 0. - fix EMI2 for t2080qds, which was caused by adding t2081qds. Signed-off-by: Shengzhou Liu --- board/freescale/t208xqds/eth_t208xqds.c | 3 ++- include/configs/T208xQDS.h | 2 +- 2 files changed, 3 insertions(+), 2

[U-Boot] [PATCH] powerpc/t208xqds: fix nor chip selection when nand boot

2014-03-12 Thread Shengzhou Liu
NOR flash is on CS1 instead of CS2 when NAND boot. So correct NOR chip selection to CS1 from CS2. Signed-off-by: Shengzhou Liu --- include/configs/T208xQDS.h | 28 ++-- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/include/configs/T208xQDS.h b/include

[U-Boot] [PATCH] powerpc/t208x: enable command MEMTEST DDR_INTERACTIVE EEPROM

2014-03-12 Thread Shengzhou Liu
Enable CONFIG_CMD_MEMTEST, CONFIG_FSL_DDR_INTERACTIVE, CONFIG_CMD_EEPROM Signed-off-by: Shengzhou Liu --- include/configs/T208xQDS.h | 6 +- include/configs/T208xRDB.h | 6 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/include/configs/T208xQDS.h b/include/configs

[U-Boot] [PATCH 2/3 v2] net/phy: update get_phy_device_by_mask to probe more 10G PHY

2014-03-13 Thread Shengzhou Liu
In function get_phy_device_by_mask(), when trying Clause 45, we should extend the value of devad(used in create_phy_by_mask) to zero to cover more PHYs (e.g. devad must be 0 for CS4315 PHY). Signed-off-by: Shengzhou Liu --- v2: no change drivers/net/phy/phy.c | 4 ++-- 1 file changed, 2

[U-Boot] [PATCH 1/3 v2] net/phy: enable get_phy_id redefinable

2014-03-13 Thread Shengzhou Liu
As some PHYs have non-standard PHY ID registers, PHY Id can't be read correctly by current get_phy_id function, so we enable get_phy_id redefinable to permit specific PHY driver having own specific get_phy_id function. Signed-off-by: Shengzhou Liu --- v2: use __weak drivers/net/phy/phy.

[U-Boot] [PATCH 3/3 v2] net/phy: Add support for CS4315/CS4340 PHY

2014-03-13 Thread Shengzhou Liu
Add support for Cortina CS4315/CS4340 10G PHY. - This driver loads CS43xx firmware to initialize Cortina PHY. - To define macro CONFIG_PHY_CORTINA will enable this driver. - Cortina PHY has non-standard offset of PHY ID registers, so define own get_phy_id(). Signed-off-by: Shengzhou Liu --- v2

[U-Boot] [PATCH 1/3 v2] net/phy: enable get_phy_id redefinable

2014-03-14 Thread Shengzhou Liu
As some PHYs have non-standard PHY ID registers, PHY Id can't be read correctly by current get_phy_id function, so we enable get_phy_id redefinable to permit specific PHY driver having own specific get_phy_id function. Signed-off-by: Shengzhou Liu --- v2: use __weak drivers/net/phy/phy.

[U-Boot] [PATCH 2/2] board/t208xrdb: Add support of 2-stage NAND bootloader

2014-03-14 Thread Shengzhou Liu
Add support of 2-stage NAND boot loader using SPL framework on T2080RDB. PBL initialise the internal SRAM and copy SPL(96K), this further initialise DDR using SPD and environment and copy u-boot from NAND to DDR, finally SPL transfer control to u-boot. Signed-off-by: Shengzhou Liu --- board

[U-Boot] [PATCH 1/2] board/t208xqds: Add support of 2-stage NAND bootloader

2014-03-14 Thread Shengzhou Liu
Add support of 2 stage NAND boot loader using SPL framework. PBL initialise the internal SRAM and copy SPL(96K), this further initialise DDR using SPD and environment and copy u-boot from NAND to DDR, finally SPL transfer control to u-boot. Signed-off-by: Shengzhou Liu --- board/freescale

[U-Boot] [PATCH 2/2] board/t208xrdb: Add support of 2-stage NAND bootloader

2014-03-14 Thread Shengzhou Liu
Add support of 2-stage NAND boot loader using SPL framework on T2080RDB. PBL initialise the internal SRAM and copy SPL(96K), this further initialise DDR using SPD and environment and copy u-boot from NAND to DDR, finally SPL transfer control to u-boot. Signed-off-by: Shengzhou Liu --- board

[U-Boot] [PATCH 2/2] powerpc/T208xRDB: add mtdparts suppport

2014-03-24 Thread Shengzhou Liu
We use dynamical mtdparts partition instead of directly puting mtd partitions nodes in device tree. Signed-off-by: Shengzhou Liu --- Verified on T2080RDB. include/configs/T208xRDB.h | 16 1 file changed, 16 insertions(+) diff --git a/include/configs/T208xRDB.h b/include

[U-Boot] [PATCH 1/2] powerpc/T208xQDS: add mtdparts suppport

2014-03-24 Thread Shengzhou Liu
We use dynamical mtdparts partition instead of directly puting mtd partitions nodes in device tree. Signed-off-by: Shengzhou Liu --- Verified on T2080QDS. include/configs/T208xQDS.h | 17 + 1 file changed, 17 insertions(+) diff --git a/include/configs/T208xQDS.h b/include

[U-Boot] [PATCH 1/2 v3] net/phy: enable get_phy_id redefinable

2014-03-28 Thread Shengzhou Liu
As some PHYs have non-standard PHY ID registers, PHY Id can't be read correctly by current get_phy_id function, so we enable get_phy_id redefinable to permit specific PHY driver having own specific get_phy_id function. Signed-off-by: Shengzhou Liu --- v3: no change. v2: use weak style. dr

[U-Boot] [PATCH 2/2 v3] net/phy: Add support for CS4315/CS4340 PHY

2014-03-28 Thread Shengzhou Liu
Add support for Cortina CS4315/CS4340 10G PHY. - This driver loads CS43xx firmware to initialize Cortina PHY. - To define macro CONFIG_PHY_CORTINA will enable this driver. - Cortina PHY has non-standard offset of PHY ID registers, so define own get_phy_id(). Signed-off-by: Shengzhou Liu --- v3

[U-Boot] [PATCH] board/freescale: use generic board architecture for t2080qds and t2080rdb

2014-07-23 Thread Shengzhou Liu
Tested with NOR boot and NAND boot on T2080QDS and T2080RDB. Signed-off-by: Shengzhou Liu --- based on 'next' branch. include/configs/T208xQDS.h | 2 ++ include/configs/T208xRDB.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/configs/T208xQDS.h b/include/configs/

[U-Boot] [PATCH v2] powerpc/t2080rdb: update ddr to support 1866MT/s

2015-03-27 Thread Shengzhou Liu
Support SODIMM D3XP12081XL10AA 1866MT/s on T2080RDB. Enable CONFIG_CMD_MEMTEST as well. Signed-off-by: Shengzhou Liu --- v2: refined commit description. board/freescale/t208xrdb/ddr.h | 4 ++-- include/configs/T208xRDB.h | 5 + 2 files changed, 7 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH v4] powerpc/t1023rdb: Add T1023 RDB board support

2015-03-27 Thread Shengzhou Liu
SD/MMC card and eMMC on-board - 256Kbit M24256 I2C EEPROM - RTC: Real-time clock DS1339 on I2C bus - UART: one serial port on-board with RJ45 connector - Debugging: JTAG/COP for T1023 debugging As well updated T1024RDB to add T1023RDB. Signed-off-by: Shengzhou Liu --- v4: squashed ddr patch to

[U-Boot] [PATCH] boards/t2080rdb: update ddr frequency from 1600MT/s to 1867MT/s

2015-03-31 Thread Shengzhou Liu
T2080RDB RevC uses new SODIMM 1867MT/s instead of previous 1600MT/s. So update RCW to support new DDR frequency i.e 1867MT/s Signed-off-by: Shengzhou Liu --- board/freescale/t208xrdb/t2080_rcw.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/freescale/t208xrdb

[U-Boot] [PATCH] net/phy: fixup for get_phy_id

2015-04-07 Thread Shengzhou Liu
commit 3c6928fd7b0f84 "net: phy: fix warnings with W=1" caused some PHYs(e.g. CS4315/CS4340) not working. This patch fixes the warning and make those special PHYs working as well. Signed-off-by: Shengzhou Liu --- drivers/net/phy/phy.c | 2 +- include/phy.h | 1 + 2 files

[U-Boot] [PATCH] board/t2080rdb: enable CONFIG_PHY_AQUANTIA

2015-04-07 Thread Shengzhou Liu
CONFIG_PHY_AQ1202 is no longer needed, use CONFIG_PHY_AQUANTIA. Signed-off-by: Shengzhou Liu --- include/configs/T208xRDB.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h index db6b42e..508edec 100644 --- a/include

[U-Boot] [PATCH] board/t102x: use fdt_setprop_string instead of fdt_setprop

2015-04-14 Thread Shengzhou Liu
Use fdt_setprop_string instead of fdt_setprop to fix string length. Signed-off-by: Shengzhou Liu --- board/freescale/t102xqds/eth_t102xqds.c | 9 + board/freescale/t102xrdb/eth_t102xrdb.c | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/board/freescale/t102xqds

[U-Boot] [PATCH] board/t2080rdb: reset CS4315 PHY

2015-04-21 Thread Shengzhou Liu
CS4315 PHY doesn't phy reset by software, it needs to reset it by hardware reset via CPLD control. Signed-off-by: Shengzhou Liu --- board/freescale/t208xrdb/cpld.h | 3 +++ board/freescale/t208xrdb/t208xrdb.c | 7 +++ 2 files changed, 10 insertions(+) diff --git a/board/free

[U-Boot] [PATCH] board/t2080rdb: reset cs4315 phy

2015-04-21 Thread Shengzhou Liu
CS4315 PHY doesn't support phy-reset by software, it needs to reset it by hardware via CPLD control. Signed-off-by: Shengzhou Liu --- board/freescale/t208xrdb/cpld.h | 3 +++ board/freescale/t208xrdb/t208xrdb.c | 7 +++ 2 files changed, 10 insertions(+) diff --git a/board/free

[U-Boot] [PATCH] t2080rdb/rcw: update ddr frequency from 1600MT/s to 1867MT/s

2015-04-22 Thread Shengzhou Liu
T2080RDB RevC uses new SODIMM 1867MT/s instead of previous 1600MT/s. So update RCW to support new DDR frequency 1867MT/s by default. Reserve the old 1600MT/s in comment for users in needed. Signed-off-by: Shengzhou Liu --- board/freescale/t208xrdb/t2080_rcw.cfg | 5 - 1 file changed, 4

[U-Boot] [PATCH v2] net/phy: refactor RTL8211F initialization

2015-04-24 Thread Shengzhou Liu
RTL8211F needs to enalbe TXDLY for RGMII during phy initialization, so move it to rtl8211f_config for early initialization. Signed-off-by: Shengzhou Liu cc: Joe Hershberger --- v2: add default page and use macro instead of magic number. drivers/net/phy/realtek.c | 33

[U-Boot] [PATCH] board/t2080qds: add readme for t2080qds

2014-10-17 Thread Shengzhou Liu
Signed-off-by: Shengzhou Liu --- board/freescale/t208xqds/README | 243 1 file changed, 243 insertions(+) create mode 100755 board/freescale/t208xqds/README diff --git a/board/freescale/t208xqds/README b/board/freescale/t208xqds/README new file mode

[U-Boot] [PATCH 1/4] net/fm: add 2.5G SGMII support

2014-10-23 Thread Shengzhou Liu
As auto-negotiation is not supported for 2.5G SGMII, we need to add a new type PHY_INTERFACE_MODE_SGMII_2500 to differentiate SGMII-1G and SGMII-2.5G with different setting for auto-negotiation. Signed-off-by: Shaohui Xie Signed-off-by: Shengzhou Liu --- arch/powerpc/include/asm/fsl_serdes.h

[U-Boot] [PATCH] powerpc/t2080: add serdes2 protocol 0x2e

2014-10-26 Thread Shengzhou Liu
Add serdes2 protocol 0x2e. Signed-off-by: Shengzhou Liu --- arch/powerpc/cpu/mpc85xx/t2080_serdes.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/cpu/mpc85xx/t2080_serdes.c b/arch/powerpc/cpu/mpc85xx/t2080_serdes.c index 7138bb4..c65f41d 100644 --- a/arch/powerpc/cpu/mpc85xx

[U-Boot] [PATCH 1/8] powerpc/mpc85xx: Add T1024/T1023 SoC support

2014-10-27 Thread Shengzhou Liu
8-bit Signed-off-by: Shengzhou Liu --- arch/powerpc/cpu/mpc85xx/Makefile | 4 ++ arch/powerpc/cpu/mpc85xx/speed.c | 12 +++- arch/powerpc/cpu/mpc85xx/t1024_ids.c | 82 arch/powerpc/cpu/mpc85xx/t1024_serdes.c| 50 + arch/po

[U-Boot] [PATCH 4/8] net/fman: tune fman 10G driver to fit different SoC

2014-10-27 Thread Shengzhou Liu
naming for 10GEC to fit different SoC. Signed-off-by: Shengzhou Liu --- arch/powerpc/include/asm/config_mpc85xx.h | 1 + arch/powerpc/include/asm/immap_85xx.h | 5 + drivers/net/fm/eth.c | 7 +-- drivers/net/fm/init.c | 2 ++ include

[U-Boot] [PATCH 2/8] powerpc/t1024qds: Add T1024 QDS board support

2014-10-27 Thread Shengzhou Liu
USB2.0 ports with internal PHY (one Type-A + one micro Type mini-AB) - eSDHC: Support SD, SDHC, SDXC and MMC/eMMC. - I2C: Four I2C controllers. - UART: Two UART on board. Signed-off-by: Shengzhou Liu --- arch/powerpc/cpu/mpc85xx/Kconfig | 4 + board/freescale/t102xqds/Kconfig

[U-Boot] [PATCH 7/8] t1024: increase IO drive strength

2014-10-27 Thread Shengzhou Liu
Increase IO drive strength to fix FCS error on RGMII ports on T1024QDS and T1024RDB. Signed-off-by: Shengzhou Liu --- arch/powerpc/include/asm/immap_85xx.h | 3 +++ board/freescale/t102xqds/t102xqds.c | 4 board/freescale/t102xrdb/t102xrdb.c | 3 +++ 3 files changed, 10 insertions

[U-Boot] [PATCH 5/8] board/t1024qds: some update for pin mux

2014-10-27 Thread Shengzhou Liu
1. add fdt_fixup_spi_mux() for spi mux between SPI flash and TDM riser. 2. if "adaptor=sdxc" is set in hwconfig, route spi pin to SDHC slot. 3. if "pin_mux=tdm" is set in hwconfig, route spi pin to TDM Riser Card. Signed-off-by: Shengzhou Liu Signed-off-by: Xie Xiaobo Signe

[U-Boot] [PATCH 8/8] board/t1024qds: add retimer support on t1024qds

2014-10-27 Thread Shengzhou Liu
Initialize retimer for XFI on t1024qds. Signed-off-by: Shengzhou Liu --- board/freescale/t102xqds/t102xqds.c | 57 + include/configs/T102xQDS.h | 5 +++- 2 files changed, 61 insertions(+), 1 deletion(-) diff --git a/board/freescale/t102xqds

[U-Boot] [PATCH 6/8] net/phy: enable serdes autonegotiation for vsc8514 phy

2014-10-27 Thread Shengzhou Liu
QSGMII doesn't work without enabling serdes auto-negotiation. Signed-off-by: Shengzhou Liu --- drivers/net/phy/vitesse.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/phy/vitesse.c b/drivers/net/phy/vitesse.c index 2b29cd8..5b2e11a 100644 --- a/drivers/ne

[U-Boot] [PATCH 3/8] powerpc/t1024rdb: Add T1024 RDB board support

2014-10-27 Thread Shengzhou Liu
- I2C: Four I2C controllers - UART: Two UART serial ports Signed-off-by: Shengzhou Liu --- arch/powerpc/cpu/mpc85xx/Kconfig| 4 + board/freescale/t102xrdb/Kconfig| 12 + board/freescale/t102xrdb/MAINTAINERS| 14 + board/freescale/t102xrdb/Makefile | 17 + board

[U-Boot] [PATCH] powerpc/usb: fix bug of CPU halt when missing USB PHY clock

2012-02-01 Thread Shengzhou Liu
when missing USB PHY clock and issuing "usb start" at u-boot prompt, writing to or_portsc register will cause CPU halt. We should check USBGP[PHY_CLK_VALID] bit at the first time in ehci_hcd_init() to avoid CPU hang in this case. Signed-off-by: Shengzhou Liu --- drivers/usb/host/

[U-Boot] [PATCH 3/3] mtd/nand: Add NAND chip ID to support Micron 4K pagesize NAND chip

2011-11-22 Thread Shengzhou Liu
Add NAND chip ID 0x38 in ids table to support Micron 4K pagesize NAND chip. Signed-off-by: Shengzhou Liu --- based on 'master' branch of Wolfgang's tree. drivers/mtd/nand/nand_ids.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/nand/nand_

[U-Boot] [PATCH 1/3] mtd/nand : Add function board_nand_init_tail() for some special NAND controllers

2011-11-22 Thread Shengzhou Liu
eater than 2K bytes, we have a board_nand_init_tail() between nand_scan_ident() and nand_scan_tail(). Signed-off-by: Shengzhou Liu --- based on 'master' branch of Wolfgang's tree. drivers/mtd/nand/nand.c | 14 +- 1 files changed, 13 insertions(+), 1 deletions(-) diff

[U-Boot] [PATCH 2/3] mtd/nand : workaround for Freescale FCM to support 4k pagesize Nand chip

2011-11-22 Thread Shengzhou Liu
Freescale FCM controller has a 2K size limitation of buffer RAM. In order to support the Nand flash chip whose page size is larger than 2K bytes, we read/write 2k data repeatedly by issuing FIR_OP_RB/FIR_OP_WB and save them to a large buffer. Signed-off-by: Shengzhou Liu Signed-off-by: Liu Shuo

[U-Boot] [PATCH 1/4] mtd/nand : Add function board_nand_init_tail() for some special NAND controllers

2011-12-02 Thread Shengzhou Liu
eater than 2K bytes, we have a board_nand_init_tail() between nand_scan_ident() and nand_scan_tail(). Signed-off-by: Shengzhou Liu --- drivers/mtd/nand/nand.c | 14 +- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/nand/nand.c b/drivers/mtd/nand/nand.c

[U-Boot] [PATCH 2/4] mtd/nand: Fixup for support ONFI detect

2011-12-02 Thread Shengzhou Liu
There was a bug logically in the order of nand_flash_detect_onfi and checking nand_flash_ids. We should get NAND devices related informations first by ONFI method instead of querying nand_flash_ids table, if ONFI fails, then query nand_flash_ids table. Signed-off-by: Shengzhou Liu --- drivers

[U-Boot] [PATCH 3/4] mtd/nand: remove CONFIG_SYS_NAND_ONFI_DETECTION to enable ONFI detection

2011-12-02 Thread Shengzhou Liu
We should first try ONFI detection, if ONFI is not supported or fails, then try to check nand_flash_ids table. Signed-off-by: Shengzhou Liu --- drivers/mtd/nand/nand_base.c |9 - include/linux/mtd/nand.h |2 -- 2 files changed, 0 insertions(+), 11 deletions(-) diff --git a

[U-Boot] [PATCH 4/4] mtd/nand: Add ONFI support for FSL NAND controller

2011-12-02 Thread Shengzhou Liu
- fix NAND_CMD_READID command for ONFI detect. - add NAND_CMD_PARAM command to read the ONFI parameter page. Signed-off-by: Shengzhou Liu --- drivers/mtd/nand/fsl_elbc_nand.c | 16 +++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/nand

[U-Boot] [PATCH] powerpc/p3060qds: remove useless CONFIG_PHYS_64BIT

2011-12-06 Thread Shengzhou Liu
We are not doing this any more. The bdinfo command will be updated to display this information instead, so remove previous display info. Signed-off-by: Shengzhou Liu --- board/freescale/p3060qds/p3060qds.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/board

[U-Boot] [PATCH] powerpc/85xx: remove useless info of 36-bit Addressing

2011-12-06 Thread Shengzhou Liu
We are not doing this any more. The bdinfo command will be updated to display this information instead, so remove previous display info. Signed-off-by: Shengzhou Liu --- board/freescale/corenet_ds/corenet_ds.c |4 board/freescale/p2041rdb/p2041rdb.c |4 board/freescale

[U-Boot] [PATCH 1/5] mtd/nand: Add function board_nand_init_tail() for some special NAND controllers

2011-12-08 Thread Shengzhou Liu
eater than 2K bytes, we have a board_nand_init_tail() between nand_scan_ident() and nand_scan_tail(). Signed-off-by: Shengzhou Liu --- drivers/mtd/nand/nand.c | 19 ++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/nand/nand.c b/drivers/mtd/nand/n

[U-Boot] [PATCH 2/5] mtd/nand: Fixup for support ONFI detect

2011-12-08 Thread Shengzhou Liu
In the past the ONFI never worked dut to u-boot aborted when nand device id not found in ids table. Now if not found in ids table, u-boot still continues to detect by ONFI way. Signed-off-by: Shengzhou Liu --- drivers/mtd/nand/nand_base.c | 26 -- 1 files changed, 16

[U-Boot] [PATCH 4/5] mtd/nand: Add ONFI support for FSL NAND controller

2011-12-08 Thread Shengzhou Liu
- fix NAND_CMD_READID command for ONFI detect. - add NAND_CMD_PARAM command to read the ONFI parameter page. Signed-off-by: Shengzhou Liu --- drivers/mtd/nand/fsl_elbc_nand.c | 19 --- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/drivers/mtd/nand

[U-Boot] [PATCH 5/5] mtd/nand: workaround for Freescale FCM to support 4k pagesize Nand chip

2011-12-08 Thread Shengzhou Liu
Freescale FCM controller has a 2K size limitation of buffer RAM. In order to support the Nand flash chip whose page size is larger than 2K bytes, we read/write 2k data repeatedly by issuing FIR_OP_RB/FIR_OP_WB and save them to a large buffer. Signed-off-by: Shengzhou Liu Signed-off-by: Liu Shuo

[U-Boot] [PATCH 3/5] mtd/nand: remove CONFIG_SYS_NAND_ONFI_DETECTION to enable ONFI detection

2011-12-08 Thread Shengzhou Liu
remove CONFIG_SYS_NAND_ONFI_DETECTION to enable ONFI detection. Signed-off-by: Shengzhou Liu --- drivers/mtd/nand/nand_base.c |9 - include/linux/mtd/nand.h |2 -- 2 files changed, 0 insertions(+), 11 deletions(-) diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand

[U-Boot] [PATCH 2/5 v2] mtd/nand: Fixup for support ONFI detect

2011-12-12 Thread Shengzhou Liu
In the past the ONFI never worked dut to u-boot aborted when nand device id not found in ids table. Now if not found in ids table, u-boot still continues to detect by ONFI way. Signed-off-by: Shengzhou Liu --- drivers/mtd/nand/nand_base.c | 26 -- 1 files changed, 16

[U-Boot] [PATCH 3/5 v2] mtd/nand: remove CONFIG_SYS_NAND_ONFI_DETECTION to enable ONFI detection

2011-12-12 Thread Shengzhou Liu
remove CONFIG_SYS_NAND_ONFI_DETECTION to enable ONFI detection. Signed-off-by: Shengzhou Liu --- drivers/mtd/nand/nand_base.c |9 - include/linux/mtd/nand.h |2 -- 2 files changed, 0 insertions(+), 11 deletions(-) diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand

[U-Boot] [PATCH 4/5 v2] mtd/nand: Add ONFI support for FSL NAND controller

2011-12-12 Thread Shengzhou Liu
- fix NAND_CMD_READID command for ONFI detect. - add NAND_CMD_PARAM command to read the ONFI parameter page. Signed-off-by: Shengzhou Liu --- drivers/mtd/nand/fsl_elbc_nand.c | 17 ++--- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/mtd/nand

[U-Boot] [PATCH 1/5 v2] mtd/nand: Add function board_nand_init_tail() for some special NAND controllers

2011-12-12 Thread Shengzhou Liu
eater than 2K bytes, we have a board_nand_init_tail() between nand_scan_ident() and nand_scan_tail(). Signed-off-by: Shengzhou Liu --- drivers/mtd/nand/nand.c | 19 ++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/nand/nand.c b/drivers/mtd/nand/n

[U-Boot] [PATCH 5/5 v2] mtd/nand: workaround for Freescale FCM to support 4k pagesize Nand chip

2011-12-12 Thread Shengzhou Liu
Freescale FCM controller has a 2K size limitation of buffer RAM. In order to support the Nand flash chip with pagesize larger than 2K bytes, we read/write 2k data repeatedly by issuing FIR_OP_RB/FIR_OP_WB and save them to a large buffer. Signed-off-by: Shengzhou Liu Signed-off-by: Liu Shuo

[U-Boot] [PATCH] powerpc/board: add present2 register definition for QIXIS

2012-10-08 Thread Shengzhou Liu
According to new QIXIS system definition, update QIXIS registers set to add present2 register instead of obsolete ctl_sys2. Signed-off-by: Shengzhou Liu --- based on master branch of upstream tree. This patch is needed by T4QDS patches. board/freescale/common/qixis.c |2 +- board/freescale

[U-Boot] [PATCH] powerpc/t4240: Adding workaround errata A-005871

2013-01-23 Thread Shengzhou Liu
for upstream transactions and removes the deadlock condition. The Workaround is for the T4240 silicon rev 1.0. Signed-off-by: Shengzhou Liu --- based on master branch upstream tree. arch/powerpc/cpu/mpc85xx/cmd_errata.c |4 arch/powerpc/cpu/mpc85xx/cpu_init.c | 14

[U-Boot] [PATCH] powerpc/b4860: Adding workaround errata A-005871

2013-02-28 Thread Shengzhou Liu
Per the latest errata updated, B4860/B4420 Rev 1.0 has also errata A-005871, so adding define A-005871 for B4 SoCs. Signed-off-by: Shengzhou Liu --- arch/powerpc/include/asm/config_mpc85xx.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/include/asm

[U-Boot] [PATCH 4/4] powerpc/p1010rdb: add p1010rdb-pb support with updating p1010rdb-pa

2013-09-12 Thread Shengzhou Liu
- Rename old P1010RDB board as P1010RDB-PA. - Add support for new P1010RDB-PB board. - Some optimization. For more details, see board/freescale/p1010rdb/README. Signed-off-by: Shengzhou Liu --- board/freescale/p1010rdb/p1010rdb.c | 176 ++-- boards.cfg

[U-Boot] [PATCH 3/4] board/p1010rdb: add pin mux and sdhc support in any boot

2013-09-12 Thread Shengzhou Liu
'esdhc' in hwconfig and save it. To enable IFC in case of SD boot a) For temporary use case in runtime without reboot system run 'mux ifc' in u-boot to validate IFC with invalidating SDHC. b) For long-term use case set 'ifc' in hwconfig and save it.

[U-Boot] [PATCH 1/4] powerpc/p1010rdb: remove unused cpld_show

2013-09-12 Thread Shengzhou Liu
Function cpld_show() was for debug and not called, so clean it. Signed-off-by: Shengzhou Liu --- board/freescale/p1010rdb/p1010rdb.c | 35 --- 1 file changed, 35 deletions(-) diff --git a/board/freescale/p1010rdb/p1010rdb.c b/board/freescale/p1010rdb/p1010rdb.c

[U-Boot] [PATCH 2/4] powerpc/eeprom: update MAX_NUM_PORTS to adapt non-256-bytes EEPROM

2013-09-12 Thread Shengzhou Liu
doesn't impact on previous existing boards. Signed-off-by: Shengzhou Liu --- Verified with 128B and 256B EEPROM, CRC works. board/freescale/common/sys_eeprom.c | 4 1 file changed, 4 insertions(+) diff --git a/board/freescale/common/sys_eeprom.c b/board/freescale/common/sys_eeprom.c

[U-Boot] [PATCH v4] powerpc/p1010rdb: update readme for p1010rdb-pa and p1010rdb-pb

2013-10-11 Thread Shengzhou Liu
- Remove duplicate doc/README.p1010rdb - Rename README to README.P1010RDB-PA - Add new README.P1010RDB-PB P1010RDB-PB is a variation of previous P1010RDB-PA board. Signed-off-by: Shengzhou Liu --- v4: keep readme support for p1010rdb-pa v3: add frequency combination support v2: removed

[U-Boot] [PATCH] powerpc/t1040: fix i2c2 address on t1040qds and t104xrdb

2014-07-01 Thread Shengzhou Liu
The base address of I2C2 is 0x118100 instead of 0x119000. Signed-off-by: Shengzhou Liu --- include/configs/T1040QDS.h | 2 +- include/configs/T104xRDB.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h index 2215ac8

[U-Boot] [PATCH] powerpc/t1040: update i2c for t1040qds and t104xrdb

2014-07-06 Thread Shengzhou Liu
- Fix base address of I2C2 as 0x118100 instead of 0x119000. - Add definitions for I2C3 & I2C4. Signed-off-by: Shengzhou Liu --- include/configs/T1040QDS.h | 10 -- include/configs/T104xRDB.h | 10 -- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/include/con

[U-Boot] [PATCH] fsl_i2c: add support for 3rd and 4th I2C

2014-07-06 Thread Shengzhou Liu
Add support for 3rd and 4th I2C. Signed-off-by: Shengzhou Liu --- drivers/i2c/fsl_i2c.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c index aa159f8..811033b 100644 --- a/drivers/i2c/fsl_i2c.c +++ b

[U-Boot] [PATCH 1/4] net/fman: Add support for 10GEC3 and 10GEC4

2013-11-14 Thread Shengzhou Liu
There are more than two 10GEC in single FMAN in some SoCs(e.g. T2080). This patch adds support for 10GEC3 and 10GEC4. Signed-off-by: Shengzhou Liu --- Against master branch of upstream. arch/powerpc/include/asm/fsl_serdes.h | 2 ++ arch/powerpc/include/asm/immap_85xx.h | 2 ++ drivers/net/fm

[U-Boot] [PATCH 2/4] powerpc/mpc85xx: Add T2080/T2081 SoC support

2013-11-14 Thread Shengzhou Liu
SoC Package: 896-pins 780-pins Signed-off-by: Shengzhou Liu --- Against master branch of upstream. arch/powerpc/cpu/mpc85xx/Makefile | 6 + arch/powerpc/cpu/mpc85xx/speed.c | 2 +- arch/powerpc/cpu/mpc85xx/t2080_ids.c | 142 arch/powerp

[U-Boot] [PATCH 4/4] t2080qds/ramboot: enable PBL tool for t2080qds

2013-11-14 Thread Shengzhou Liu
Add the default RCW(0x66_0x16) and PBI configure file for T2080QDS board, so we can use PBL tool to generate the ramboot image to support boot from NAND/SPI/SD. Signed-off-by: Shengzhou Liu --- Against master branch of upstream. board/freescale/t2080qds/t2080_pbi.cfg | 41

Re: [U-Boot] [PATCH 1/4] net/fman: Add support for 10GEC3 and 10GEC4

2013-11-21 Thread Shengzhou Liu
> -Original Message- > From: York Sun [mailto:york...@freescale.com] > Sent: Friday, November 22, 2013 1:51 AM > To: Liu Shengzhou-B36685; u-boot@lists.denx.de > Subject: Re: [PATCH 1/4] net/fman: Add support for 10GEC3 and 10GEC4 > > > #ifdef CONFIG_SYS_FMAN_V3 > > - if (fm_eth->type =

[U-Boot] [PATCH 2/4 v2] powerpc/mpc85xx: Add T2080/T2081 SoC support

2013-11-22 Thread Shengzhou Liu
SoC Package: 896-pins 780-pins Signed-off-by: Shengzhou Liu --- Against master branch of git://git.denx.de/u-boot.git v2: resubmit for rebase. arch/powerpc/cpu/mpc85xx/Makefile | 6 + arch/powerpc/cpu/mpc85xx/speed.c | 2 +- arch/powerpc/cpu/mpc85xx/t2080_ids.c

[U-Boot] [PATCH 4/4 v2] t2080qds/ramboot: enable PBL tool for t2080qds

2013-11-22 Thread Shengzhou Liu
Add the default RCW(SerDes 0x66_0x16) and PBI configure file for T2080QDS board, so we can use PBL tool to generate the ramboot image to support boot from NAND/SPI/SD. Signed-off-by: Shengzhou Liu --- Against master branch of git://git.denx.de/u-boot.git v2: resubmit for rebase. board

[U-Boot] [PATCH 1/4 v2] net/fman: Add support for 10GEC3 and 10GEC4

2013-11-22 Thread Shengzhou Liu
There are more than two 10GEC in single FMAN in some SoCs(e.g. T2080). This patch adds support for 10GEC3 and 10GEC4. Signed-off-by: Shengzhou Liu --- Against master branch of git://git.denx.de/u-boot.git v2: Rebase and add more comments description. arch/powerpc/include/asm/fsl_serdes.h | 2

[U-Boot] [PATCH] net/fman: add ft_fixup_xgec to support 3rd and 4th 10GEC

2013-11-29 Thread Shengzhou Liu
As mEMAC1 and mEMAC2 are dual-role MACs, which are used as 1G or 10G MAC. So we update dynamically 'cell-index' to '2' and '3' for 10GEC3 and 10GEC4. Also change 'fsl,fman-port-1g-rx' to 'fsl,fman-port-10g-rx', ditto for Tx. Signed-off-

  1   2   3   >