Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Michael Langer's avatar
    5c23712d
    i.MX6 USDHC: Use the ESDHC clock · 5c23712d
    Michael Langer authored
    
    The commit "i.mx: fsl_esdhc: add the i.mx6q support" (4692708d) introduces
    support for the i.MX6Q MMC host controller USDHC.
    
    MXC_IPG_PERCLK sets the clock to 66MHz. This seems to be the default clock
    of the ESDHC IP found in < i.MX6 silicon. However, the default clock for the USDHC
    IP found in i.MX6 is 200MHz (MXC_ESDHC_CLK). This difference will cause a 3 times
    higher clock on SD_CLK than expected (see fsl_esdh.c -> set_sysctl()).
    
    Signed-off-by: default avatarMichael Langer <michael.langer@de.bosch.com>
    CC: Stefano Babic <sbabic@denx.de>
    CC: Jason Liu <r64343@freescale.com>
    Acked-by: default avatarStefano Babic <sbabic@denx.de>
    5c23712d
    History
    i.MX6 USDHC: Use the ESDHC clock
    Michael Langer authored
    
    The commit "i.mx: fsl_esdhc: add the i.mx6q support" (4692708d) introduces
    support for the i.MX6Q MMC host controller USDHC.
    
    MXC_IPG_PERCLK sets the clock to 66MHz. This seems to be the default clock
    of the ESDHC IP found in < i.MX6 silicon. However, the default clock for the USDHC
    IP found in i.MX6 is 200MHz (MXC_ESDHC_CLK). This difference will cause a 3 times
    higher clock on SD_CLK than expected (see fsl_esdh.c -> set_sysctl()).
    
    Signed-off-by: default avatarMichael Langer <michael.langer@de.bosch.com>
    CC: Stefano Babic <sbabic@denx.de>
    CC: Jason Liu <r64343@freescale.com>
    Acked-by: default avatarStefano Babic <sbabic@denx.de>