summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2015-01-19 17:26:47 +0100
committerStefano Babic <sbabic@denx.de>2015-01-22 11:03:19 +0100
commite88b83575a94b76a57161d98ec659460cb83ffab (patch)
tree538420ccec9343c268ef70214281e7ad36c4c588
parent84c5dd16a45cc6502bf622ea33543a53102d681f (diff)
downloadu-boot-imx-e88b83575a94b76a57161d98ec659460cb83ffab.zip
u-boot-imx-e88b83575a94b76a57161d98ec659460cb83ffab.tar.gz
u-boot-imx-e88b83575a94b76a57161d98ec659460cb83ffab.tar.bz2
ot1200: enable spi clock directly in ccgr_init(..)
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
-rw-r--r--board/bachmann/ot1200/ot1200.c5
1 files changed, 1 insertions, 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