[U-Boot] [PATCH] Powerpc/mpc8536DS: Increase SPI/SD uboot Image size to 768K

2014-04-09 Thread Haijun Zhang
u-boot binary size for Freescale mpc8536DS platforms is 512KB. This has been reached to upper limit of the platforms and causig linker error. So increase the u-boot binary size to 768KB. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- include/configs/MPC8536DS.h | 4 ++-- 1 file

[U-Boot] [PATCH V2] mmc:eSDHC: Workaround for data timeout issue on Txxx SoC

2014-03-18 Thread Haijun Zhang
for read and write command. 3. Add CONFIG_SYS_FSL_ERRATUM_ESDHC111 to enable its workaround. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V2 - Rewrite the comments. arch/powerpc/include/asm/config_mpc85xx.h | 5 + drivers/mmc/fsl_esdhc.c | 5

[U-Boot] [PATCH] mmc:eSDHC: Workaround for data timeout issue on Txxx SoC

2014-03-17 Thread Haijun Zhang
CONFIG_SYS_FSL_ERRATUM_ESDHC111 to enable its workaround. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- arch/powerpc/include/asm/config_mpc85xx.h | 5 + drivers/mmc/fsl_esdhc.c | 5 - 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm

[U-Boot] [PATCH] net/phy: Correct AR8021 phy_mask

2014-03-04 Thread Haijun Zhang
There was wrong phy_mask for AR8021 device, so the AR8021 can't be probed correctly. Changed it from 0x4f to 0x40. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- drivers/net/phy/atheros.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy

[U-Boot] [PATCH] powerpc/mpc8536DS:Increase binary size for mpc8536DS board

2014-02-12 Thread Haijun Zhang
u-boot binary size for Freescale mpc8536DS platforms is 512KB. This has been reached to upper limit of the platforms and causig linker error. So increase the u-boot binary size to 768KB. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- include/configs/MPC8536DS.h | 10 +++--- 1

[U-Boot] [PATCH 2/3 V3] esdhc: Detecting 8 bit width before mmc initialization

2014-01-09 Thread Haijun Zhang
The upper 4 data signals of esdhc are shared with spi flash. So detect if the upper 4 pins are assigned to esdhc before enable sdhc 8 bit width. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V3: - Define quirk in board specific file instead of code in driver

[U-Boot] [PATCH 1/3 V3] esdhc: Workaround for card can't be detected on T4240QDS

2014-01-09 Thread Haijun Zhang
and initialize the card regardless of whether the card is inserted or not in case Rev1.0. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V3: - Define quirk in board specific file instead of code in driver changes for V2: - Add the judgement condition

[U-Boot] [PATCH 3/3 V3] eSDHC: Calculate envaddr accroding to the address format

2014-01-09 Thread Haijun Zhang
to calculate the envaddr. If there is no enough space for environment variables or envaddr is larger than 4GiB, we relocate the envaddr to 0x400. The address relocated is in the front of the first partition that is assigned for sdboot only. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com

[U-Boot] [PATCH 2/7 V5] mmc: Get secure erase information from card

2013-12-30 Thread Haijun Zhang
Manufacturer ID: 0 OEM: 0 Name: Tran Speed: 0 Rd Block Len: 0 MMC version 0.0 High Capacity: No Capacity: 0 Bytes Bus Width: 1-bit = Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V5: - Exclude the judgement of EXT_CSD_REV in case of read EXT_CSD err drivers/mmc/mmc.c

[U-Boot] [PATCH 5/7 V5] mmc: Enhance mmcinfo command

2013-12-30 Thread Haijun Zhang
Rd Block Len: 0 MMC version 0.0 High Capacity: No Capacity: 0 Bytes Bus Width: 1-bit = mmcinfo Device: FSL_SDHC Manufacturer ID: 0 OEM: 0 Name: Tran Speed: 0 Rd Block Len: 0 MMC version 0.0 High Capacity: No Capacity: 0 Bytes Bus Width: 1-bit Signed-off-by: Haijun Zhang haijun.zh...@freescale.com

[U-Boot] [PATCH 4/7 V5] mmc: Update the handling of returned erase block

2013-12-30 Thread Haijun Zhang
return, has failed. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V5: - Changed the judgement way of block number returned from erase command common/cmd_mmc.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c index

[U-Boot] [PATCH 7/7 V5] powerpc/esdhc: Update esdhc command execution process

2013-12-30 Thread Haijun Zhang
used for busy state release. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V5: - no changes drivers/mmc/fsl_esdhc.c | 164 +++- 1 file changed, 106 insertions(+), 58 deletions(-) diff --git a/drivers/mmc/fsl_esdhc.c b

[U-Boot] [PATCH 1/7 V5] mmc: Add some usefull macro definition

2013-12-30 Thread Haijun Zhang
Add command class define. Add mmc erase and secure erase define. Add secure erase and trim support bit define. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V5: - Add some comments for definitions include/mmc.h | 50

[U-Boot] [PATCH 6/7 V5] Powerpc/esdhc: Add esdhc host version define

2013-12-30 Thread Haijun Zhang
From: Haijun Zhang haijun.zh...@freescale.com Esdhc host version number is incorrect in host capacity register. The value read from was 0x14. Correct it to 0x13. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V5: - no changes arch/powerpc/include/asm

[U-Boot] [PATCH 3/7 V5] mmc: Enhance erase handling procedure

2013-12-30 Thread Haijun Zhang
0x.(Trim and discard are ignored here) 6. Check card status after erase operation is completed. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V5: - re-write the code to let it seem simple drivers/mmc/mmc_write.c | 62

[U-Boot] [PATCH 5/7 V4] mmc: Enhance mmcinfo command

2013-12-10 Thread Haijun Zhang
Rd Block Len: 0 MMC version 0.0 High Capacity: No Capacity: 0 Bytes Bus Width: 1-bit = mmcinfo Device: FSL_SDHC Manufacturer ID: 0 OEM: 0 Name: Tran Speed: 0 Rd Block Len: 0 MMC version 0.0 High Capacity: No Capacity: 0 Bytes Bus Width: 1-bit Signed-off-by: Haijun Zhang haijun.zh...@freescale.com

[U-Boot] [PATCH 1/7 V4] mmc: Add some usefull macro definition

2013-12-10 Thread Haijun Zhang
From: Haijun Zhang haijun.zh...@freescale.com Add command class define. Add mmc erase and secure erase define. Add secure erase and trim support bit define. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V4: - no changes changes for V3: - No changes

[U-Boot] [PATCH 2/7 V4] mmc: Get secure erase information from card

2013-12-10 Thread Haijun Zhang
Manufacturer ID: 0 OEM: 0 Name: Tran Speed: 0 Rd Block Len: 0 MMC version 0.0 High Capacity: No Capacity: 0 Bytes Bus Width: 1-bit = Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V4: - update the commit message - mask the cmdclass to 12 bit only drivers/mmc/mmc.c

[U-Boot] [PATCH 3/7 V4] mmc: Enhance erase handling procedure

2013-12-10 Thread Haijun Zhang
0x.(Trim and discard are ignored here) 6. Check card status after erase operation is completed. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V4: - Update the commit message changes for V3: - update the commit message and secure feature supporting

[U-Boot] [PATCH 4/7 V4] mmc: Update the handling of returned erase block

2013-12-10 Thread Haijun Zhang
. Error return, zero return, has failed. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V4: - update commit message changes for V3: - no changes common/cmd_mmc.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c index

[U-Boot] [PATCH 6/7 V4] Powerpc/esdhc: Add esdhc host version define

2013-12-10 Thread Haijun Zhang
From: Haijun Zhang haijun.zh...@freescale.com Esdhc host version number is incorrect in host capacity register. The value read from was 0x14. Correct it to 0x13. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V4: - no changes arch/powerpc/include/asm

[U-Boot] [PATCH 7/7 V4] powerpc/esdhc: Update esdhc command execution process

2013-12-10 Thread Haijun Zhang
used for busy state release. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V4: - no changes changes for V3: - changed the '-1' to '0xU' - redundant check command and data error after while loop. drivers/mmc/fsl_esdhc.c | 164

[U-Boot] [PATCH 1/3 V2] esdhc: Workaround for card can't be detected on T4240QDS

2013-12-10 Thread Haijun Zhang
and initialize the card regardless of whether the card is inserted or not in case Rev1.0. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V2: - Add the judgement condition for this broken card drivers/mmc/fsl_esdhc.c| 9 + include/configs/T4240QDS.h | 2

[U-Boot] [PATCH 3/3 V2] eSDHC: Calculate envaddr accroding to the address format

2013-12-10 Thread Haijun Zhang
to calculate the envaddr. If there is no enough space for environment variables or envaddr is larger than 4GiB, we relocate the envaddr to 0x400. The address relocated is in the front of the first partition that is assigned for sdboot only. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com

[U-Boot] [PATCH 2/3 V2] esdhc: Detecting 8 bit width before mmc initialization

2013-12-10 Thread Haijun Zhang
The upper 4 data signals of esdhc are shared with spi flash. So detect if the upper 4 pins are assigned to esdhc before enable sdhc 8 bit width. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changs for V2: - No changes drivers/mmc/fsl_esdhc.c| 5 + include/configs

[U-Boot] [PATCH 2/7 V3] mmc: Get secure erase information from card

2013-12-09 Thread Haijun Zhang
Manufacturer ID: 0 OEM: 0 Name: Tran Speed: 0 Rd Block Len: 0 MMC version 0.0 High Capacity: No Capacity: 0 Bytes Bus Width: 1-bit = Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V3: - Change the erase group size to be block aligned. drivers/mmc/mmc.c | 52

[U-Boot] [PATCH 3/7 V3] mmc: Enhance erase handling procedure

2013-12-09 Thread Haijun Zhang
, erase with arg 0x8000(Spec eMMC 4.41). else erase with arg 0x.(Trim and discard is ingnored here) 6. Check card status after erase. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V3: - update the commit message and secure feature supporting judgment

[U-Boot] [PATCH 7/7 V3] powerpc/esdhc: Update esdhc command execution process

2013-12-09 Thread Haijun Zhang
used for busy state release. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V3: - changed the '-1' to '0xU' - redundant check command and data error after while loop. drivers/mmc/fsl_esdhc.c | 164 +++- 1

[U-Boot] [PATCH 1/7 V3] mmc: Add some usefull macro definition

2013-12-09 Thread Haijun Zhang
From: Haijun Zhang haijun.zh...@freescale.com Add command class define. Add mmc erase and secure erase define. Add secure erase and trim support bit define. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V3: - No changes include/mmc.h | 50

[U-Boot] [PATCH 5/7 V3] mmc: Enhance mmcinfo command

2013-12-09 Thread Haijun Zhang
: Tran Speed: 0 Rd Block Len: 0 MMC version 0.0 High Capacity: No Capacity: 0 Bytes Bus Width: 1-bit = mmcinfo Device: FSL_SDHC Manufacturer ID: 0 OEM: 0 Name: Tran Speed: 0 Rd Block Len: 0 MMC version 0.0 High Capacity: No Capacity: 0 Bytes Bus Width: 1-bit Signed-off-by: Haijun Zhang haijun.zh

[U-Boot] [PATCH 4/7 V3] mmc: Update the handling of returned erase block

2013-12-09 Thread Haijun Zhang
of them. Error number and zero number mean erase operation was failed. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V3: - no changes common/cmd_mmc.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c index 67a94a7

[U-Boot] [PATCH 6/7 V3] Powerpc/esdhc: Add esdhc host version define

2013-12-09 Thread Haijun Zhang
From: Haijun Zhang haijun.zh...@freescale.com Esdhc host version number is incorrect in host capacity register. The value read from was 0x14. Correct it to 0x13. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V3: - no changes arch/powerpc/include/asm

[U-Boot] [PATCH 2/3] esdhc: Detecting 8 bit width before mmc initialization

2013-12-01 Thread Haijun Zhang
The upper 4 data signals of esdhc are shared with spi flash. So detect if the upper 4 pins are assigned to esdhc before enable sdhc 8 bit width. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- drivers/mmc/fsl_esdhc.c| 6 ++ include/configs/T4240QDS.h | 2 ++ 2 files changed, 8

[U-Boot] [PATCH 3/3] eSDHC: Calculate envaddr accroding to the address format

2013-12-01 Thread Haijun Zhang
to calculate the envaddr. If there is no enough space for environment variables or envaddr is larger than 4GiB, we relocate the envaddr to 0x400. The address relocated is in the front of the first partition that is assigned for sdboot only. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com

[U-Boot] [PATCH 1/3] esdhc: Workaround for card can't be detected on T4240QDS

2013-12-01 Thread Haijun Zhang
Card detection pin is ineffective on T4240QDS. This workaround force sdhc driver scan and initialize the card regardless of whether the card is inserted. if no card is in the slot, the error message card is not inserted will be prompted. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com

[U-Boot] [PATCH 1/7 V2] mmc: Add some usefull macro definition

2013-11-07 Thread Haijun Zhang
Add command class define. Add mmc erase and secure erase define. Add secure erase and trim support bit define. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V2: - Changed the comment, no other change include/mmc.h | 50

[U-Boot] [PATCH] powerpc/esdhc: Update esdhc command execution process

2013-11-07 Thread Haijun Zhang
state release. 6. In case eSDHC host version 2.3, host will signal transfer complete interrupt once busy state was release. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- drivers/mmc/fsl_esdhc.c | 165 +++- 1 file changed, 108 insertions

[U-Boot] [PATCH 7/7 V2] powerpc/esdhc: Update esdhc command execution process

2013-11-07 Thread Haijun Zhang
state release. 6. In case eSDHC host version 2.3, host will signal transfer complete interrupt once busy state was release. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- Changes for V2: - Initialize the irqstat = 0 to avoid compile warning drivers/mmc/fsl_esdhc.c | 165

[U-Boot] [PATCH 5/7 V2] mmc: Enhance mmcinfo command

2013-11-07 Thread Haijun Zhang
: Tran Speed: 0 Rd Block Len: 0 MMC version 0.0 High Capacity: No Capacity: 0 Bytes Bus Width: 1-bit = mmcinfo Device: FSL_SDHC Manufacturer ID: 0 OEM: 0 Name: Tran Speed: 0 Rd Block Len: 0 MMC version 0.0 High Capacity: No Capacity: 0 Bytes Bus Width: 1-bit Signed-off-by: Haijun Zhang haijun.zh

[U-Boot] [PATCH 2/7 V2] mmc: Get secure erase information from card

2013-11-07 Thread Haijun Zhang
Manufacturer ID: 0 OEM: 0 Name: Tran Speed: 0 Rd Block Len: 0 MMC version 0.0 High Capacity: No Capacity: 0 Bytes Bus Width: 1-bit = Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- Changes for V2: - No changes drivers/mmc/mmc.c | 51 ++- 1

[U-Boot] [PATCH 4/7 V2] mmc: Update the handling of returned erase block

2013-11-07 Thread Haijun Zhang
of them. Error number and zero number mean erase operation was failed. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- Changes for V2: - Removed the compiling warning common/cmd_mmc.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c

[U-Boot] [PATCH 6/7 V2] Powerpc/esdhc: Add esdhc host version define

2013-11-07 Thread Haijun Zhang
Esdhc host version number is incorrect in host capacity register. The value read from was 0x14. Correct it to 0x13. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- Change for V2: - No changes arch/powerpc/include/asm/config_mpc85xx.h | 1 + 1 file changed, 1 insertion

[U-Boot] [PATCH 3/7 V2] mmc: Enhance erase handling procedure

2013-11-07 Thread Haijun Zhang
status after erase. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- Changes for V2: - No changes drivers/mmc/mmc_write.c | 70 ++--- 1 file changed, 60 insertions(+), 10 deletions(-) diff --git a/drivers/mmc/mmc_write.c b/drivers/mmc

[U-Boot] [PATCH 2/7] mmc: Get secure erase information from card

2013-11-04 Thread Haijun Zhang
Manufacturer ID: 0 OEM: 0 Name: Tran Speed: 0 Rd Block Len: 0 MMC version 0.0 High Capacity: No Capacity: 0 Bytes Bus Width: 1-bit = Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- drivers/mmc/mmc.c | 51 ++- 1 file changed, 38 insertions(+), 13

[U-Boot] [PATCH 1/7] mmc: Add some usefull macro definition

2013-11-04 Thread Haijun Zhang
Add command class define. Add mmc erase and secure erase define. Add secure erase and trim support bit define. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- include/mmc.h | 49 + 1 file changed, 49 insertions(+) diff --git a/include

[U-Boot] [PATCH 5/7] mmc: Enhance mmcinfo command

2013-11-04 Thread Haijun Zhang
: Tran Speed: 0 Rd Block Len: 0 MMC version 0.0 High Capacity: No Capacity: 0 Bytes Bus Width: 1-bit = mmcinfo Device: FSL_SDHC Manufacturer ID: 0 OEM: 0 Name: Tran Speed: 0 Rd Block Len: 0 MMC version 0.0 High Capacity: No Capacity: 0 Bytes Bus Width: 1-bit Signed-off-by: Haijun Zhang haijun.zh

[U-Boot] [PATCH 3/7] mmc: Enhance erase handling procedure

2013-11-04 Thread Haijun Zhang
status after erase. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- drivers/mmc/mmc_write.c | 70 ++--- 1 file changed, 60 insertions(+), 10 deletions(-) diff --git a/drivers/mmc/mmc_write.c b/drivers/mmc/mmc_write.c index aa2fdef..f2e9baf

[U-Boot] [PATCH 6/7] Powerpc/esdhc: Add esdhc host version define

2013-11-04 Thread Haijun Zhang
Esdhc host version number is incorrect in host capacity register. The value read from was 0x14. Correct it to 0x13. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- arch/powerpc/include/asm/config_mpc85xx.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/include/asm

[U-Boot] [PATCH 4/7] mmc: Update the handling of returned erase block

2013-11-04 Thread Haijun Zhang
of them. Error number and zero number mean erase operation was failed. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- common/cmd_mmc.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c index 67a94a7..15cecb7 100644 --- a/common/cmd_mmc.c

[U-Boot] [PATCH 7/7] powerpc/esdhc: Update esdhc command execution process

2013-11-04 Thread Haijun Zhang
state release. 6. In case eSDHC host version 2.3, host will signal transfer complete interrupt once busy state was release. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- drivers/mmc/fsl_esdhc.c | 165 +++- 1 file changed, 108 insertions

[U-Boot] [PATCH 1/2 V3] esdhc: memset mmc struct before putting into use

2013-10-30 Thread Haijun Zhang
: 0 Name: Tran Speed: 0 Rd Block Len: 0 MMC version 0.0 High Capacity: No Capacity: 0 Bytes Bus Width: 0-bit = Signed-off-by: Haijun Zhang haijun.zh...@freescale.com Signed-off-by: Xie Shaohui-B21989 b21...@freescale.com Tested-by: Ryan Barnett rjbar...@rockwellcollins.com --- changes for V3

[U-Boot] [PATCH 2/2 V3] powerpc/esdhc: Add 3.3v voltage support in esdhc capacity register

2013-10-30 Thread Haijun Zhang
T4240QDS eSDHC host capabilities reigster should have VS33 bit define. Add quirk CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33 to deal with capacity missing Signed-off-by: Roy Zang tie-fei.z...@freescale.com Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V3: - Move the macro

[U-Boot] [PATCH 2/2 V2] powerpc/esdhc: Add 3.3v voltage support in esdhc capacity register

2013-10-29 Thread Haijun Zhang
T4240QDS eSDHC host capabilities reigster should have VS33 bit define. Add quirk CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33 to deal with capacity missing Signed-off-by: Roy Zang tie-fei.z...@freescale.com Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V2: - Limited

[U-Boot] [PATCH 1/2 V2] esdhc: memset mmc struct before putting into use

2013-10-29 Thread Haijun Zhang
: 0 Name: Tran Speed: 0 Rd Block Len: 0 MMC version 0.0 High Capacity: No Capacity: 0 Bytes Bus Width: 0-bit = Signed-off-by: Haijun Zhang haijun.zh...@freescale.com Signed-off-by: Xie Shaohui-B21989 b21...@freescale.com --- drivers/mmc/fsl_esdhc.c | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH 2/2 V2] Powerpc/esdhc: Add simple description of esdhc register

2013-10-29 Thread Haijun Zhang
Add some descriptions for esdhc register for easily using. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- drivers/mmc/fsl_esdhc.c | 74 - 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/drivers/mmc/fsl_esdhc.c b/drivers

[U-Boot] [PATCH 1/2 V2] powerpc/esdhc: Map register for eSDHC Host Controller V3.0

2013-10-29 Thread Haijun Zhang
eSDHC host controller has new register to support SD Spec 3.0. And the according host controller version was Freescale eSDHC Version 3.0. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes: - Split from patch [PATCH] powerpc/esdhc: Map register for eSDHC host

[U-Boot] [PATCH] powerpc/esdhc: Map register for eSDHC host controller 3.0

2013-10-28 Thread Haijun Zhang
eSDHC host controller has new register to support SD Spec 3.0. And the according host controller version was Freescale eSDHC Version 3.0. Add some new register and it simple description. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- drivers/mmc/fsl_esdhc.c | 62

[U-Boot] [PATCH] powerpc/esdhc: Map register for eSDHC host controller 3.0

2013-10-28 Thread Haijun Zhang
eSDHC host controller has new register to support SD Spec 3.0. And the according host controller version was Freescale eSDHC Version 3.0. Add some new register and it simple description. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- drivers/mmc/fsl_esdhc.c | 62

[U-Boot] [PATCH 1/2] esdhc: memset mmc struct before putting into use

2013-10-24 Thread Haijun Zhang
: 0 Name: Tran Speed: 0 Rd Block Len: 0 MMC version 0.0 High Capacity: No Capacity: 0 Bytes Bus Width: 0-bit = Signed-off-by: Haijun Zhang haijun.zh...@freescale.com Signed-off-by: Xie Shaohui-B21989 b21...@freescale.com --- drivers/mmc/fsl_esdhc.c | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH 2/2] powerpc/esdhc: hack t4240 host capabilities register for VS33 bit

2013-10-24 Thread Haijun Zhang
T4240 eSDHC host capabilities reigster should have VS33 bit define. hack the code to add the 3.3 voltage support Signed-off-by: Roy Zang tie-fei.z...@freescale.com Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- arch/powerpc/include/asm/config_mpc85xx.h | 1 + drivers/mmc/fsl_esdhc.c

[U-Boot] [PATCH 1/2] esdhc: memset mmc struct before putting into use

2013-10-24 Thread Haijun Zhang
: 0 Name: Tran Speed: 0 Rd Block Len: 0 MMC version 0.0 High Capacity: No Capacity: 0 Bytes Bus Width: 0-bit = Signed-off-by: Haijun Zhang haijun.zh...@freescale.com Signed-off-by: Xie Shaohui-B21989 b21...@freescale.com --- drivers/mmc/fsl_esdhc.c | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH 2/2 V2] powerpc/esdhc: Add 3.3v voltage support in esdhc capacity register

2013-10-24 Thread Haijun Zhang
T4240 eSDHC host capabilities reigster should have VS33 bit define. Add quirk CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33 to deal with capacity missing Signed-off-by: Roy Zang tie-fei.z...@freescale.com Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V2: - Rewrite

[U-Boot] [PATCH] fsl_esdhc: Add Auto command 12 interrupt bit detecting

2013-10-12 Thread Haijun Zhang
-by: Haijun Zhang haijun.zh...@freescale.com --- drivers/mmc/fsl_esdhc.c | 10 +- include/fsl_esdhc.h | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index dc1d002..5aa592b 100644 --- a/drivers/mmc/fsl_esdhc.c +++ b

[U-Boot] [PATCH] Powerpc: eSDHC: Fix mmc read write err in uboot of T4240QDS board

2013-07-01 Thread Haijun Zhang
Fill the right command type when using CMD12 to stop data transfer. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com CC: Fleming Andrew-AFLEMING aflem...@freescale.com CC: Scott Wood scottw...@freescale.com --- drivers/mmc/fsl_esdhc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[U-Boot] [PATCH] p1020rdb-pd: platform support

2013-06-27 Thread Haijun . Zhang
From: Haijun.Zhang haijun.zh...@freescale.com Signed-off-by: Jerry Huang chang-ming.hu...@freescale.com Signed-off-by: Haijun Zhang haijun.zh...@freescale.com CC: Scott Wood scottw...@freescale.com CC: Sun Yusong-R58495 york...@freescale.com --- board/freescale/p1_p2_rdb_pc/ddr.c | 2 +- board

[U-Boot] [PATCH V2] p1020rdb-pd: platform support

2013-06-27 Thread Haijun . Zhang
...@freescale.com Signed-off-by: Haijun Zhang haijun.zh...@freescale.com CC: Scott Wood scottw...@freescale.com CC: Sun Yusong-R58495 york...@freescale.com --- changes for V2: - Add change log and update the config name for pc board board/freescale/p1_p2_rdb_pc/README | 1 + board

[U-Boot] [PATCH V2] powerpc/esdhc: Correct judgement for DATA PIO mode

2013-05-07 Thread Haijun . Zhang
From: Haijun.Zhang haijun.zh...@freescale.com The logic for the whether to configure for polling or DMA was mistakenly reversed in this patch: Commit 7b43db92110ec2f15c5f7187a165f2928464966b drivers/mmc/fsl_esdhc.c: fix compiler warnings Signed-off-by: Haijun Zhang haijun.zh...@freescale.com CC

[U-Boot] [PATCH] Powerpc/esdhc: Correct judgement for DATA PIO mode

2013-05-06 Thread Haijun . Zhang
From: Haijun.Zhang haijun.zh...@freescale.com The logic for the whether to configure for polling or DMA was mistakenly reversed in this patch: Commit 7b43db92110ec2f15c5f7187a165f2928464966b drivers/mmc/fsl_esdhc.c: fix compiler warnings Signed-off-by: Haijun Zhang haijun.zh...@freescale.com CC

[U-Boot] [PATCH] p1020rdb-pd: platform support

2013-04-28 Thread Haijun . Zhang
From: Haijun.Zhang haijun.zh...@freescale.com Add platform support for p1020rdb-pd Signed-off-by: Jerry Huang chang-ming.hu...@freescale.com Signed-off-by: Haijun Zhang haijun.zh...@freescale.com CC: Sun Yusong-R58495 york...@freescale.com CC: u-boot@lists.denx.de --- board/freescale