mx6q: mx6qsabrelite: setup_spi() should be called in board_init to allow use for environment
PATCH 1/1 mx6q: mx6qsabrelite: setup_spi() should be called in board_init to allow use for environment
Signed-off-by Eric Nelson <[email protected]>
--- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
board/freescale/mx6qsabrelite/mx6qsabrelite.c +4 -4
@@ -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 ; }
Signature · 1 line
1.7.9
PATCH 1/1 mx6q: mx6qsabrelite: setup_spi() should be called in board_init to allow use for environment
Quoted 2 lines · Eric Nelson
Signed-off-by Eric Nelson <[email protected]>---
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================