summaryrefslogtreecommitdiff
path: root/examples/api/libgenwrap.c
diff options
context:
space:
mode:
authorMichael Schanz <michael.schanz@congatec.com>2015-12-10 09:58:35 +0100
committerStefano Babic <sbabic@denx.de>2016-01-03 15:28:56 +0100
commita1ed155298eeb29000d9b1033be094c0f7c45212 (patch)
treeb6ea8744d350dd99a7a1bd04ff888a3f65ce6d63 /examples/api/libgenwrap.c
parent845a57b4de972aefb21bf7f13b23d472bccb6afb (diff)
cgtqmx6eval: fix pad configuration for SPI bus
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@congatec.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'examples/api/libgenwrap.c')
0 files changed, 0 insertions, 0 deletions