[U-Boot] [PATCH 2/3] imx: cm_fx6 use enable_spi_clk

Peng Fan Peng.Fan at freescale.com
Wed Jun 24 12:44:33 CEST 2015


Use enable_spi_clock, since enable_cspi_clock is removed.

Signed-off-by: Peng Fan <Peng.Fan at freescale.com>
---
 board/compulab/cm_fx6/spl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/compulab/cm_fx6/spl.c b/board/compulab/cm_fx6/spl.c
index 5b4b76f..5ce33d0 100644
--- a/board/compulab/cm_fx6/spl.c
+++ b/board/compulab/cm_fx6/spl.c
@@ -303,7 +303,7 @@ static void cm_fx6_setup_uart(void)
 static void cm_fx6_setup_ecspi(void)
 {
 	cm_fx6_set_ecspi_iomux();
-	enable_cspi_clock(1, 0);
+	enable_spi_clock(1, 0);
 }
 #else
 static void cm_fx6_setup_ecspi(void) { }
-- 
1.8.4




More information about the U-Boot mailing list