Hi Peng, On Tue, Jun 14, 2016 at 8:01 PM, Fabio Estevam <feste...@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.este...@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? _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot