summaryrefslogtreecommitdiff
path: root/board/tqc
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-03-12 13:34:30 +0100
committerStefano Babic <sbabic@denx.de>2015-05-15 19:20:47 +0200
commit34ee786e5b388625e5a0e0891ee69d4bbf34178b (patch)
tree8a6faa48bfe5acff3b23ed7f014d989782b9e119 /board/tqc
parent911b5ea56e88f2612b8b828c5ad8b1ef3d1f6955 (diff)
downloadu-boot-imx-34ee786e5b388625e5a0e0891ee69d4bbf34178b.zip
u-boot-imx-34ee786e5b388625e5a0e0891ee69d4bbf34178b.tar.gz
u-boot-imx-34ee786e5b388625e5a0e0891ee69d4bbf34178b.tar.bz2
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 <sr@denx.de>
Diffstat (limited to 'board/tqc')
-rw-r--r--board/tqc/tqma6/tqma6.c2
1 files changed, 1 insertions, 1 deletions
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;