From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Tue, 05 May 2015 17:17:26 +0200 Subject: [U-Boot] [PATCH 2/3] arm: mx6: tqma6: Update to optionally configure an alternative SPI setup In-Reply-To: <55488F4A.3000200@gmail.com> References: <1426163671-23297-1-git-send-email-sr@denx.de> <1426163671-23297-2-git-send-email-sr@denx.de> <55488F4A.3000200@gmail.com> Message-ID: <5548DF06.7070106@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 05/05/2015 11:37, Stefan Roese wrote: > Hi Stefano, > > On 12.03.2015 13:34, Stefan Roese wrote: >> By making the tqma6_iomuxc_spi() weak, this patch adds the possibility to >> add a different function for this SPI configuration. This can be used >> by other baseboards, that might have a different SPI setup. >> >> This patch will be used by the upcoming WRU-IV board support which also >> uses the TQMa6 SoM. >> >> Signed-off-by: Stefan Roese >> --- >> board/tqc/tqma6/tqma6.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/board/tqc/tqma6/tqma6.c b/board/tqc/tqma6/tqma6.c >> index c9e163e..29db838 100644 >> --- a/board/tqc/tqma6/tqma6.c >> +++ b/board/tqc/tqma6/tqma6.c >> @@ -145,7 +145,7 @@ static unsigned const tqma6_ecspi1_cs[] = { >> TQMA6_SF_CS_GPIO, >> }; >> >> -static void tqma6_iomuxc_spi(void) >> +__weak void tqma6_iomuxc_spi(void) >> { >> unsigned i; >> >> > > Ping on this patch. Markus has Ack'ed it. Could you please push it to Tom? > 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 =====================================================================