[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 shengzhou@freescale.com --- drivers

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

2013-06-04 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: Shengzhou

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

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

[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 shengzhou@freescale.com --- arch/powerpc/include/asm/config_mpc85xx.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH] phylib: update atheros ar803x phy

2013-08-08 Thread Shengzhou Liu
As AR8031 and AR8033 have same PHY ID 0x4dd074, they use the common driver. Currently AR8031_driver didn't work for AR8033, hence updated it to have it work on AR8031/AR8033. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- drivers/net/phy/atheros.c |4 ++-- 1 files changed, 2

[U-Boot] [PATCH] powerpc/eeprom: update MAX_NUM_PORTS to fix program failure

2013-08-08 Thread Shengzhou Liu
On some boards, the size of EEPROM is 128 Bytes instead of 256. so we set default MAX_NUM_PORTS to 9 rather than previous 23 to avoid the programming failure, we can define MAX_NUM_PORTS in board-specific header file to overwrite the default value. Signed-off-by: Shengzhou Liu shengzhou

[U-Boot] [PATCH] powerpc/p1010rdb: fix calculating ddr_freq_mhz

2013-08-13 Thread Shengzhou Liu
There was a bug for calculating ddr_freq_mhz, it should be divided by 100 rather than 0x100. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- board/freescale/p1010rdb/spl_minimal.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/freescale

[U-Boot] [PATCH] powerpc/p1010rdb-pb: add support for p1010rdb-pb board

2013-08-13 Thread Shengzhou Liu
Add support for freescale P1010RDB-PB board. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- board/freescale/p1010rdb/law.c |2 - board/freescale/p1010rdb/p1010rdb.c | 302 --- board/freescale/p1010rdb/tlb.c |4 - boards.cfg

[U-Boot] [PATCH] powerpc/p1010rdb: remove CONFIG_SYS_FSL_ESDHC_P1010_BROKEN_SDCLK

2013-08-14 Thread Shengzhou Liu
CONFIG_SYS_FSL_ESDHC_P1010_BROKEN_SDCLK was needed only on obsolete P1010RDB Rev.B non-formal board, not reproduced on P1010RDB Rev.C and new P1010RDB-PB, now it's no longer needed. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- arch/powerpc/include/asm/config_mpc85xx.h | 1 - 1

[U-Boot] [PATCH] powerpc/sec: Add workaround for SEC A-003571

2013-08-14 Thread Shengzhou Liu
Multiple read/write transactions initiated by security engine may cause system to hang. Workaround: set MCFGR[AXIPIPE] to 0 to avoid hang. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- arch/powerpc/cpu/mpc85xx/cmd_errata.c | 4 arch/powerpc/cpu/mpc85xx/cpu_init.c

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

2013-08-30 Thread Shengzhou Liu
doesn't impact on previous existing boards. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- 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 index d2ed036..1b69315 100644

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

2013-09-01 Thread Shengzhou Liu
-by: Shengzhou Liu shengzhou@freescale.com --- board/freescale/p1010rdb/law.c | 2 - board/freescale/p1010rdb/p1010rdb.c | 330 ++-- board/freescale/p1010rdb/tlb.c | 4 - boards.cfg | 41 +++-- include/configs/P1010RDB.h

[U-Boot] [PATCH] powerpc/p1010rdb: update readme for p1010rdb-pb board

2013-09-03 Thread Shengzhou Liu
P1010RDB-PB is a variation of previous P1010RDB-PA board. Henceforth we support P1010RDB-PB board instead of P1010RDB-PA. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- board/freescale/p1010rdb/README | 285 + doc/README.p1010rdb

[U-Boot] [PATCH v2] powerpc/p1010rdb: update readme for p1010rdb-pb board

2013-09-04 Thread Shengzhou Liu
- Remove duplicate doc/README.p1010rdb - Update for P1010RDB-PB board P1010RDB-PB is a variation of previous P1010RDB-PA board. Henceforth we support P1010RDB-PB board instead of P1010RDB-PA. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- v2: removed duplicate doc/README.p1010rdb

[U-Boot] [PATCH v3] powerpc/p1010rdb: update readme for p1010rdb-pb board

2013-09-09 Thread Shengzhou Liu
- Remove duplicate doc/README.p1010rdb - Update for P1010RDB-PB board P1010RDB-PB is a variation of previous P1010RDB-PA board. Henceforth we support P1010RDB-PB board instead of P1010RDB-PA. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- v3: add frequency combination support v2

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

2013-09-09 Thread Shengzhou Liu
- Rename old P1010RDB board as P1010RDB-PA. - Add support for new P1010RDB-PB board. - Enable IFC flash access in case of SD boot via hwconfig or mux command. - Some optimization and code cleanup. For more details, see board/freescale/p1010rdb/README. Signed-off-by: Shengzhou Liu shengzhou

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

2013-09-13 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 shengzhou@freescale.com --- board/freescale/p1010rdb/p1010rdb.c | 176

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

2013-09-13 Thread Shengzhou Liu
' 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. Signed-off-by: Shengzhou Liu shengzhou

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

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

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

2013-09-13 Thread Shengzhou Liu
doesn't impact on previous existing boards. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- 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

[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 shengzhou@freescale.com --- based on master branch upstream tree. arch/powerpc/cpu/mpc85xx/cmd_errata.c |4 arch/powerpc/cpu/mpc85xx

[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. Signed-off-by: Shengzhou Liu shengzhou

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

2012-04-28 Thread Shengzhou Liu
Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- 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

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

2012-05-02 Thread Shengzhou Liu
Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- 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

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

2012-05-03 Thread Shengzhou Liu
Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- 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

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

2012-05-03 Thread Shengzhou Liu
Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- 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

[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 shengzhou@freescale.com --- 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

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

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

[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 shengzhou

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

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

[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 shengzhou

[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 shengzhou@freescale.com --- drivers/mtd/nand/nand_base.c |9 - include/linux/mtd/nand.h |2 -- 2 files changed, 0 insertions(+), 11

[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 shengzhou@freescale.com --- drivers/mtd/nand/fsl_elbc_nand.c | 16 +++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git

[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 shengzhou@freescale.com --- board/freescale/p3060qds/p3060qds.c |3 --- 1 files changed, 0 insertions(+), 3 deletions

[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 shengzhou@freescale.com --- board/freescale/corenet_ds/corenet_ds.c |4 board/freescale/p2041rdb/p2041rdb.c

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

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

[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 shengzhou@freescale.com --- drivers/mtd/nand/nand_base.c | 26

[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 shengzhou@freescale.com --- drivers/mtd/nand/fsl_elbc_nand.c | 19 --- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git

[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 shengzhou

[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 shengzhou@freescale.com --- 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

[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 shengzhou@freescale.com --- 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

[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 shengzhou@freescale.com --- drivers/mtd/nand/fsl_elbc_nand.c | 17 ++--- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git

[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
than 2K bytes, we have a board_nand_init_tail() between nand_scan_ident() and nand_scan_tail(). Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- drivers/mtd/nand/nand.c | 19 ++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/nand/nand.c b

[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 shengzhou@freescale.com

[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 shengzhou@freescale.com --- board/freescale/{t2080qds = t208xqds}/Makefile| 6 +- board

[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 shengzhou@freescale.com --- v2: some update for serdes and network configuration. board/freescale

[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 shengzhou@freescale.com --- drivers/net/phy/phy.c | 4 ++-- 1 file

[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 shengzhou@freescale.com --- drivers/net/phy

[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 shengzhou@freescale.com --- board/freescale/t208xqds/eth_t208xqds.c | 3 ++- include/configs/T208xQDS.h | 2 +- 2 files

[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 shengzhou@freescale.com --- 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

[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 shengzhou@freescale.com --- include/configs/T1040QDS.h | 10 -- include/configs/T104xRDB.h | 10 -- 2 files changed, 16 insertions(+), 4 deletions

[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 shengzhou@freescale.com --- 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

[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 shengzhou@freescale.com --- 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

[U-Boot] [PATCH v3] powerpc/85xx: add T4080 SoC support

2014-05-06 Thread Shengzhou Liu
T4080 SoC is a low-power version of T4160 SoC. T4080 combines 4 dual-threaded Power Architecture e6500 cores with single cluster and two memory complexes. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- v3: refine comments. v2: add more comments. arch/powerpc/cpu/mpc85xx/Makefile

[U-Boot] [PATCH] powerpc/t2080qds: add fdt_fixup_dma3

2014-05-09 Thread Shengzhou Liu
On T2080 the 3rd DMA is not functional if SRIO2 is chosen in SerDes2. we add fdt_fixup_dma3() to disable the 3rd DMA if SRIO2 is chosen. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- board/freescale/t208xqds/t208xqds.c | 27 +++ 1 file changed, 27

[U-Boot] [PATCH] board/t208x: update t2080qds/t2080rdb for errata A-007186

2014-05-15 Thread Shengzhou Liu
As errata A-007186, we need to use the alternate serdes protocol instead of those impacted protocols. - add support for serdes protocols: 0x1b, 0x50, 0x5e, 0x64, 0x6a, 0xd2, 0x67, 0x70. - update t2080_rcw.cfg to adapt to new rcw_66_15 for t2080qds and t2080rdb. Signed-off-by: Shengzhou Liu

[U-Boot] [PATCH] powerpc/85xx: add fdt_fixup_dma3

2014-05-19 Thread Shengzhou Liu
On some SoC(e.g. T2080/T4240) the 3rd DMA is not functional if SRIO2 is chosen. we add fdt_fixup_dma3() to disable the 3rd DMA if SRIO2 is chosen. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- arch/powerpc/cpu/mpc85xx/fdt.c | 47 ++ 1 file

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

2014-05-19 Thread Shengzhou Liu
CONFIG_PHY_CORTINA will enable this driver. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- v5: fix unclaimed variable in case of nand boot. v4: add support for loading cortina phy ucode from NAND/SPI/SD v3: move devad as '0' in cortina.c instead of in phy.c v2: no change. drivers/net/phy

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

2014-05-19 Thread Shengzhou Liu
- add support for 2nd DIMM slot. - make it work with DIMM which is less than 2GB. Verified with two 2GB UDIMM MT9JSF25672AZ-2G1K1 in two DIMM slots. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- board/freescale/t208xqds/ddr.h | 28 ++-- include/configs

[U-Boot] [PATCH] board/t2080qds: enable sst and eon spi flash for nor boot

2014-05-21 Thread Shengzhou Liu
Remove unnecessary condition CONFIG_RAMBOOT_PBL to have SST and EON SPI flash work in case of NOR boot. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- include/configs/T208xQDS.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/T208xQDS.h b/include

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

2014-05-22 Thread Shengzhou Liu
Add a new serdes2 protocol 0x27. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- 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 2b7c698..7138bb4

[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-by: Shengzhou Liu shengzhou@freescale.com --- drivers

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

2013-12-01 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-by: Shengzhou Liu shengzhou@freescale.com --- v2: rebase

[U-Boot] [PATCH] powerpc/t2080qds: undef CONFIG_FSL_DDR_INTERACTIVE

2013-12-03 Thread Shengzhou Liu
at [efff31b8,f00010c7] u-boot: section .bootpg lma 0xe000 adjusted to 0xf00010c8 Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- include/configs/T2080QDS.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/T2080QDS.h b/include/configs/T2080QDS.h index ad09816

Re: [U-Boot] How to build T2080QDS board?

2013-12-03 Thread Shengzhou Liu
Patch http://patchwork.ozlabs.org/patch/296420/ Thanks, Shengzhou -Original Message- From: York Sun [mailto:york...@freescale.com] Sent: Wednesday, December 04, 2013 12:16 PM To: Masahiro Yamada; Liu Shengzhou-B36685; u-boot@lists.denx.de Subject: Re: How to build T2080QDS board?

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

2013-12-06 Thread Shengzhou Liu
- optimize ddr parameters for whole frequency range from 1500MT/s to 2140MT/s. - remove unused patameters: 'cpo', 'wrdata delay', '2T', which is unrelated to DDR3/3L on t2080qds. - remove unused rdimm code(only udimm is supported on t2080qds). Signed-off-by: Shengzhou Liu shengzhou

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

2013-12-09 Thread Shengzhou Liu
- optimize ddr parameters for whole frequency range from 1500MT/s to 2140MT/s. - remove unused patameters: 'cpo', 'wrdata delay', '2T', which is unrelated to DDR3/3L on t2080qds. - remove unused rdimm code(only udimm is supported on t2080qds board). Signed-off-by: Shengzhou Liu shengzhou

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

2013-12-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. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- Against master branch of git://git.denx.de/u-boot-mpc85xx.git v3: remain

[U-Boot] [PATCH] powerpc/t208x: fix macro CONFIG_SYS_FSL_NUM_USB_CTRLS

2013-12-17 Thread Shengzhou Liu
CONFIG_SYS_FSL_NUM_USB_CTRLS is no longer used, update it to new CONFIG_USB_MAX_CONTROLLER_COUNT. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- arch/powerpc/include/asm/config_mpc85xx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm

[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 shengzhou@freescale.com --- board/freescale/t2080qds/t2080qds.c | 66 + 1 file changed, 60 insertions(+), 6

[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 shengzhou@freescale.com --- include/configs/T2080QDS.h | 13 + 1 file changed, 13 insertions(+) diff --git a/include/configs/T2080QDS.h b/include

[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 shengzhou@freescale.com --- board/freescale/t2080qds/eth_t2080qds.c

[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 shengzhou@freescale.com --- 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

[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 shengzhou@freescale.com --- v2: update to support more serdes, applied

[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 shengzhou@freescale.com --- 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

[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 shengzhou@freescale.com --- board/freescale/t2080qds/ddr.c | 12 ++-- board/freescale/t2080qds

[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 shengzhou@freescale.com --- drivers/net/fm/init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/fm

[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 shengzhou@freescale.com

[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 shengzhou@freescale.com --- drivers/net/fm/init.c | 53 +-- 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 shengzhou@freescale.com --- arch/powerpc/cpu/mpc85xx/speed.c| 3 ++- arch/powerpc/cpu/mpc85xx/t2080_ids.c

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

2014-01-20 Thread Shengzhou Liu
with 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 shengzhou@freescale.com --- board/freescale/{t2080qds = t208xqds}/Makefile

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

2014-01-20 Thread Shengzhou Liu
with 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 shengzhou@freescale.com --- board/freescale/{t2080qds = t208xqds}/Makefile

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

2014-10-17 Thread Shengzhou Liu
Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- 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

[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 shaohui@freescale.com Signed-off-by: Shengzhou Liu shengzhou

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

2014-10-26 Thread Shengzhou Liu
Add serdes2 protocol 0x2e. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- 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

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

2014-10-27 Thread Shengzhou Liu
Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- 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

[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 shengzhou@freescale.com --- 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

[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 shengzhou@freescale.com --- arch/powerpc/cpu/mpc85xx/Kconfig | 4 + board/freescale

[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 shengzhou@freescale.com --- arch/powerpc/include/asm/immap_85xx.h | 3 +++ board/freescale/t102xqds/t102xqds.c | 4 board/freescale/t102xrdb/t102xrdb.c | 3 +++ 3 files

[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 shengzhou@freescale.com Signed-off-by: Xie Xiaobo x

[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 shengzhou@freescale.com --- board/freescale/t102xqds/t102xqds.c | 57 + include/configs/T102xQDS.h | 5 +++- 2 files changed, 61 insertions(+), 1 deletion(-) diff --git a/board

[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 shengzhou@freescale.com --- 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

[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 shengzhou@freescale.com --- arch/powerpc/cpu/mpc85xx/Kconfig| 4 + board/freescale/t102xrdb/Kconfig| 12 + board/freescale/t102xrdb/MAINTAINERS| 14 + board/freescale/t102xrdb/Makefile

[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 shengzhou@freescale.com --- v4: keep readme support for p1010rdb-pa v3: add frequency combination

[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 shengzhou@freescale.com --- Against master branch of upstream. arch/powerpc/include/asm/fsl_serdes.h | 2 ++ arch/powerpc/include/asm

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

2013-11-14 Thread Shengzhou Liu
Package: 896-pins 780-pins Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- 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

[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 shengzhou@freescale.com --- Against master branch of upstream. board/freescale/t2080qds/t2080_pbi.cfg

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
Package: 896-pins 780-pins Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- 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

  1   2   3   >