summaryrefslogtreecommitdiff
path: root/drivers/serial
diff options
context:
space:
mode:
authorEric Nelson <eric@nelint.com>2015-12-04 22:32:48 +0300
committerStefano Babic <sbabic@denx.de>2016-01-03 17:21:21 +0300
commitf0b5f23f32adfb790293c4f1722042026fa98416 (patch)
treeaf067eff7e525a63c19c32459d496068218c0d36 /drivers/serial
parent839479dda6b449d911d1d56c599f2a9538bb2215 (diff)
downloadu-boot-f0b5f23f32adfb790293c4f1722042026fa98416.tar.xz
ARM: imx: fsl_esdhc: fix usage of low 4 bits of sysctl register
The low four bits of the SYSCTL register are reserved on the USDHC controller on i.MX6 and i.MX7 processors, but are used for clocking operations on earlier models. Guard against their usage by hiding the bit mask macros on those processors. These bits are used to prevent glitches when changing clocks on i.MX35 et al. Use the RSTA bit instead for i.MX6 and i.MX7. >From the i.MX6DQ RM: To prevent possible glitch on the card clock, clear the FRC_SDCLK_ON bit when changing clock divisor value(SDCLKFS or DVS in System Control Register) or setting RSTA bit. Signed-off-by: Eric Nelson <eric@nelint.com> Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com> Reviewed-by: Stefano Babic <sbabic@denx.de> Reviewed-by: Hector Palacios <hector.palacios@digi.com>
Diffstat (limited to 'drivers/serial')
0 files changed, 0 insertions, 0 deletions