summaryrefslogtreecommitdiff
path: root/board/siemens
diff options
context:
space:
mode:
authorWenyou Yang <wenyou.yang@atmel.com>2016-02-02 11:11:54 +0800
committerAndreas Bießmann <andreas.devel@googlemail.com>2016-02-18 21:34:41 +0100
commit8d233521cd5f26f093e2bf835118149fea4111c3 (patch)
tree10b2d57b20e7586b48a2fb6f9fe9ce75f640704f /board/siemens
parentb55b596086292d1675a09ac77b59d51871ce4f46 (diff)
board: atmel: siemens: clean up UTMI PLL code
Due to introducing the new UTMI PLL clock handle functions, use the functions to reduce the duplicated code. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Tested-by: Heiko Schocher <hs@denx.de> Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'board/siemens')
-rw-r--r--board/siemens/corvus/board.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/siemens/corvus/board.c b/board/siemens/corvus/board.c
index ba70819347a..9d5266151b0 100644
--- a/board/siemens/corvus/board.c
+++ b/board/siemens/corvus/board.c
@@ -207,10 +207,8 @@ int board_early_init_f(void)
/* from ./arch/arm/mach-at91/armv7/sama5d3_devices.c */
void at91_udp_hw_init(void)
{
- struct at91_pmc *pmc = (struct at91_pmc *)ATMEL_BASE_PMC;
-
/* Enable UPLL clock */
- writel(AT91_PMC_UPLLEN | AT91_PMC_BIASEN, &pmc->uckr);
+ at91_upll_clk_enable();
/* Enable UDPHS clock */
at91_periph_clk_enable(ATMEL_ID_UDPHS);