ot1200: enable spi clock directly in ccgr_init(..)
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Mon, 19 Jan 2015 16:26:47 +0000 (17:26 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 22 Jan 2015 10:03:19 +0000 (11:03 +0100)
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
board/bachmann/ot1200/ot1200.c

index 6b6c1a33a9999c86b6c5ac325952ab82d38ca969..e434ed9b877286a662bb58b942f6a43d145a4420 100644 (file)
@@ -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