Re: [U-Boot] [PATCH 3/3] mmc: fsl: introduce wp_enable

2016-06-14 Thread york sun
On 06/14/2016 06:35 PM, Fabio Estevam wrote: > Hi Peng, > > On Tue, Jun 14, 2016 at 10:17 PM, Peng Fan wrote: > >> No. We can not avoid such issue for now. You changed register 20e066c'value >> to 2 >> 2 means "CSI_DATA04_ALT8 — Selecting Pad: CSI_DATA04 for Mode: ALT8" >> >> Look at "Figure 31-

Re: [U-Boot] [PATCH 3/3] mmc: fsl: introduce wp_enable

2016-06-14 Thread Fabio Estevam
On Tue, Jun 14, 2016 at 10:17 PM, Peng Fan wrote: >>> Your patch allows me to write to the eMMC succesfully: >>> >>> Tested-by: Fabio Estevam > > Thanks. This patch set was posted some time ago. Care to resend this series, please? Thanks ___ U-Boot m

Re: [U-Boot] [PATCH 3/3] mmc: fsl: introduce wp_enable

2016-06-14 Thread Peng Fan
Hi Fabio, On Tue, Jun 14, 2016 at 10:46:15PM -0300, Fabio Estevam wrote: >On Tue, Jun 14, 2016 at 10:17 PM, Peng Fan wrote: > Your patch allows me to write to the eMMC succesfully: Tested-by: Fabio Estevam >> >> Thanks. This patch set was posted some time ago. > >Care to resend th

Re: [U-Boot] [PATCH 3/3] mmc: fsl: introduce wp_enable

2016-06-14 Thread Fabio Estevam
Hi Peng, On Tue, Jun 14, 2016 at 10:17 PM, Peng Fan wrote: > No. We can not avoid such issue for now. You changed register 20e066c'value > to 2 > 2 means "CSI_DATA04_ALT8 — Selecting Pad: CSI_DATA04 for Mode: ALT8" > > Look at "Figure 31-3. Daisy chain illustration" of i.MX6UL RM, if changed t

Re: [U-Boot] [PATCH 3/3] mmc: fsl: introduce wp_enable

2016-06-14 Thread Peng Fan
Hi Fabio, On Tue, Jun 14, 2016 at 08:23:27PM -0300, Fabio Estevam wrote: >Hi Peng, > >On Tue, Jun 14, 2016 at 8:01 PM, Fabio Estevam wrote: > >> Just saw this issue on a mx6ul pico board: after adding I2C support >> then the eMMC could not longer be written: >> >> => saveenv >> Saving Environment

Re: [U-Boot] [PATCH 3/3] mmc: fsl: introduce wp_enable

2016-06-14 Thread Fabio Estevam
Hi Peng, On Tue, Jun 14, 2016 at 8:01 PM, Fabio Estevam wrote: > Just saw this issue on a mx6ul pico board: after adding I2C support > then the eMMC could not longer be written: > > => saveenv > Saving Environment to MMC... > Writing to MMC(0)... > The SD card is locked. Can not write to a locke

Re: [U-Boot] [PATCH 3/3] mmc: fsl: introduce wp_enable

2016-06-14 Thread Fabio Estevam
Hi Peng, On Tue, Apr 26, 2016 at 3:54 AM, Peng Fan wrote: > Introudce wp_enable. If want to check WPSPL, then in board code, > need to set wp_enable to 1. > > Take i.MX6UL for example, to some boards, they do not use WP singal, > so they does not configure USDHC1_WP_SELECT_INPUT, and its default

[U-Boot] [PATCH 3/3] mmc: fsl: introduce wp_enable

2016-04-25 Thread Peng Fan
Introudce wp_enable. If want to check WPSPL, then in board code, need to set wp_enable to 1. Take i.MX6UL for example, to some boards, they do not use WP singal, so they does not configure USDHC1_WP_SELECT_INPUT, and its default value is 0(GPIO1_IO02). However GPIO1_IO02 is muxed for i2c usage and