Skip to content
  • Michael Schanz's avatar
    cgtqmx6eval: fix pad configuration for SPI bus · a1ed1552
    Michael Schanz authored
    
    
    Use the macro SETUP_IOMUX_PAD(...) rather than imx_iomux_v3_setup_multiple_pads(...) in order to setup
    the pin configuration for ECSPI1.
    
    ARRAY_SIZE(pads) provides the wrong size for imx_iomux_v3_setup_multiple_pads(pads, ARRAY_SIZE(pads)) in
    case of MX6QDL. In the particular case, the content of GPR12 is overwritten and the IPG/AHB/ATB/ATP clocks
    are deactivated. Therefore, the connection to the system via JTAG is not possible anymore. Furthermore,
    kernel version 3.0.35 hangs during bootprocess in the function etm_init().
    
    Signed-off-by: default avatarMichael Schanz <michael.schanz@congatec.com>
    Acked-by: default avatarOtavio Salvador <otavio@ossystems.com.br>
    a1ed1552