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

Fabio Estevam festevam at gmail.com
Wed Jun 15 01:23:27 CEST 2016


Hi Peng,

On Tue, Jun 14, 2016 at 8:01 PM, Fabio Estevam <festevam at gmail.com> 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 locked card.
>
> mmc write failed
> failed
>
> Your patch allows me to write to the eMMC succesfully:
>
> Tested-by: Fabio Estevam <fabio.estevam at nxp.com>

Looks like this is an issue with the MX6UL IOMUXC, not the esdhc
driver itself, so maybe we should not do this change for all other
SoCs.

If I manually do:
=> mw.l 20E066C 2
Then 'saveenv' works fine.

Shouldn't we fix this in the MX6UL IOMUXC code instead?


More information about the U-Boot mailing list