Re: [U-Boot] [v2] armv8: ls1012a: enable/disable eSDHC1 through hwconfig for RDB

2017-12-06 Thread Y.b. Lu
Hi York, Thank you for your suggestion. I sent out v3 patch which is backward-compatible. Please check. Thanks a lot. Best regards, Yangbo Lu > -Original Message- > From: York Sun > Sent: 2017年12月1日 1:59 > To: Y.b. Lu ; u-boot@lists.denx.de > Cc: Xiaobo Xie

Re: [U-Boot] [v2] armv8: ls1012a: enable/disable eSDHC1 through hwconfig for RDB

2017-11-30 Thread York Sun
On 11/29/2017 08:44 PM, Y.b. Lu wrote: > Hi York, > > I copied hardware team Kinjalk's explain here. > > "Enabling SDHC2 on ‘00’ is not correct on revision D and later boards as the > sd wifi is not on there on these revs. > The IO expander was designed to override the dip switch values. So,

Re: [U-Boot] [v2] armv8: ls1012a: enable/disable eSDHC1 through hwconfig for RDB

2017-11-29 Thread Y.b. Lu
Hi York, I copied hardware team Kinjalk's explain here. "Enabling SDHC2 on ‘00’ is not correct on revision D and later boards as the sd wifi is not on there on these revs. The IO expander was designed to override the dip switch values. So, the DIP switch values are driven through low strength

Re: [U-Boot] [v2] armv8: ls1012a: enable/disable eSDHC1 through hwconfig for RDB

2017-11-29 Thread York Sun
On 11/27/2017 12:58 AM, Yangbo Lu wrote: > For LS1012ARDB RevD and later versions, the I2C reading for DIP > switch setting had been no longer reliable since the board was > reworked. This patch is to add hwconfig support to enable/disable > eSDHC1 manually. What do you mean "no longer reliable"?

[U-Boot] [v2] armv8: ls1012a: enable/disable eSDHC1 through hwconfig for RDB

2017-11-27 Thread Yangbo Lu
For LS1012ARDB RevD and later versions, the I2C reading for DIP switch setting had been no longer reliable since the board was reworked. This patch is to add hwconfig support to enable/disable eSDHC1 manually. Signed-off-by: Yangbo Lu --- Changes for v2: - Just used