提交 d928a8f3 编写于 作者: E Eric Nelson 提交者: Stefano Babic

mx6q: mx6qsabrelite: setup_spi() should be called in board_init to allow use for environment

Signed-off-by: NEric Nelson <eric.nelson@boundarydevices.com>
上级 82081406
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册