summaryrefslogtreecommitdiffstats
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)
downloadtalos-obmc-uboot-e88b83575a94b76a57161d98ec659460cb83ffab.tar.gz
talos-obmc-uboot-e88b83575a94b76a57161d98ec659460cb83ffab.zip
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 6b6c1a33a9..e434ed9b87 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
OpenPOWER on IntegriCloud