[U-Boot] [PATCH 4/7] ot1200: enable spi clock directly in ccgr_init(..)

Christian Gmeiner christian.gmeiner at gmail.com
Mon Jan 19 17:26:47 CET 2015


Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
---
 board/bachmann/ot1200/ot1200.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/board/bachmann/ot1200/ot1200.c b/board/bachmann/ot1200/ot1200.c
index 6b6c1a3..e434ed9 100644
--- a/board/bachmann/ot1200/ot1200.c
+++ b/board/bachmann/ot1200/ot1200.c
@@ -125,7 +125,7 @@ static void ccgr_init(void)
 	struct mxc_ccm_reg *ccm = (struct mxc_ccm_reg *)CCM_BASE_ADDR;
 
 	writel(0x00C03F3F, &ccm->CCGR0);
-	writel(0x0030FC03, &ccm->CCGR1);
+	writel(0x0030FC33, &ccm->CCGR1);
 	writel(0x0FFFC000, &ccm->CCGR2);
 	writel(0x3FF00000, &ccm->CCGR3);
 	writel(0x00FFF300, &ccm->CCGR4);
@@ -319,9 +319,6 @@ int board_init(void)
 
 	leds_on();
 
-	/* enable ecspi3 clocks */
-	enable_cspi_clock(1, 2);
-
 #ifdef CONFIG_CMD_SATA
 	setup_sata();
 #endif
-- 
2.1.0



More information about the U-Boot mailing list