From: Stefan Roese Date: Thu, 12 Mar 2015 12:34:30 +0000 (+0100) Subject: arm: mx6: tqma6: Update to optionally configure an alternative SPI setup X-Git-Tag: KARO-TX6-2015-09-18~2010 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bcb5a7030326cdb02833abd1e8cfe22d2bfda73e;p=karo-tx-uboot.git arm: mx6: tqma6: Update to optionally configure an alternative SPI setup 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 --- diff --git a/board/tqc/tqma6/tqma6.c b/board/tqc/tqma6/tqma6.c index c9e163e7d5..29db838490 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;