summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2012-02-26 12:03:15 +0000
committerStefano Babic <sbabic@denx.de>2012-03-27 09:41:15 +0200
commitd928a8f3f395040a2d204543eb96b8796aa425fc (patch)
treecbb7af0e581dacf926975a5605958e612311ed8a /board
parent82081406a2acd15fb4b4beed7f91f57f56c9365f (diff)
downloadu-boot-imx-d928a8f3f395040a2d204543eb96b8796aa425fc.zip
u-boot-imx-d928a8f3f395040a2d204543eb96b8796aa425fc.tar.gz
u-boot-imx-d928a8f3f395040a2d204543eb96b8796aa425fc.tar.bz2
mx6q: mx6qsabrelite: setup_spi() should be called in board_init to allow use for environment
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/mx6qsabrelite/mx6qsabrelite.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/freescale/mx6qsabrelite/mx6qsabrelite.c b/board/freescale/mx6qsabrelite/mx6qsabrelite.c
index db1bea9..7fe2dc9 100644
--- a/board/freescale/mx6qsabrelite/mx6qsabrelite.c
+++ b/board/freescale/mx6qsabrelite/mx6qsabrelite.c
@@ -259,10 +259,6 @@ int board_eth_init(bd_t *bis)
if (ret)
printf("FEC MXC: %s:failed\n", __func__);
-#ifdef CONFIG_MXC_SPI
- setup_spi();
-#endif
-
return 0;
}
@@ -278,6 +274,10 @@ int board_init(void)
/* address of boot parameters */
gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
+#ifdef CONFIG_MXC_SPI
+ setup_spi();
+#endif
+
return 0;
}