From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Fleming Date: Tue, 16 Jul 2013 19:10:45 -0500 Subject: [U-Boot] fsl_esdhc: Touch only relevant sys ctrl bits In-Reply-To: <1373895870-29636-1-git-send-email-dirk.behme@de.bosch.com> References: <1373895870-29636-1-git-send-email-dirk.behme@de.bosch.com> Message-ID: <20130717001045.GC15620@right.am.freescale.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Jul 15, 2013 at 03:44:29PM +0200, 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 read/modify/write instead of just a 32bit write. > > Signed-off-by: Dirk Behme > Acked-by: Stefano Babic Applied, thanks! Andy