From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Sun, 3 Jan 2016 15:29:32 +0100 Subject: [U-Boot] [PATCH] cgtqmx6eval: fix pad configuration for SPI bus In-Reply-To: <1449737915-3321-1-git-send-email-michael.schanz@congatec.com> References: <1449737915-3321-1-git-send-email-michael.schanz@congatec.com> Message-ID: <5689304C.5040904@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/12/2015 09:58, Michael Schanz 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 > --- Applied to u-boot-imx, thanks! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================