Re: [U-Boot] [PATCH] fsl_esdhc: Touch only relevant sys ctrl bits

2013-07-16 Thread Stefano Babic
On 15/07/2013 15:44, Dirk Behme wrote: Dealing with the sys ctrl register should touch only the relevant bits and not accidently the whole register. On i.MX6, the sys control register contains bits which shouldn't be reset to 0, e.g. SYS_CTRL[3-0] and IPP_RST_N (SYS_CTRL[23]). Do this by

[U-Boot] [PATCH] fsl_esdhc: Touch only relevant sys ctrl bits

2013-07-15 Thread Dirk Behme
Dealing with the sys ctrl register should touch only the relevant bits and not accidently the whole register. On i.MX6, the sys control register contains bits which shouldn't be reset to 0, e.g. SYS_CTRL[3-0] and IPP_RST_N (SYS_CTRL[23]). Do this by read/modify/write instead of just a 32bit