[U-Boot] [PATCH] cgtqmx6eval: fix pad configuration for SPI bus

Otavio Salvador otavio.salvador at ossystems.com.br
Thu Dec 10 16:59:18 CET 2015


On Thu, Dec 10, 2015 at 6:58 AM, Michael Schanz
<michael.schanz at congatec.com> wrote:
> 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: Michael Schanz <michael.schanz at congatec.com>

Acked-by: Otavio Salvador <otavio at ossystems.com.br>

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the U-Boot mailing list