diff options
author | Ye.Li <B37916@freescale.com> | 2015-02-01 21:58:42 +0800 |
---|---|---|
committer | Peng Fan <Peng.Fan@freescale.com> | 2015-04-29 14:56:08 +0800 |
commit | 93c2123adf6be5294d6c8b2583c499bb50c3cc59 (patch) | |
tree | 18a563932b0fec7e25b0b1ed27b3723af9686281 /arch/arm/cpu/armv7/mx7/Makefile | |
parent | 973e8ade076e27a3205d3a986f1bcc374eceb827 (diff) | |
download | u-boot-imx-93c2123adf6be5294d6c8b2583c499bb50c3cc59.zip u-boot-imx-93c2123adf6be5294d6c8b2583c499bb50c3cc59.tar.gz u-boot-imx-93c2123adf6be5294d6c8b2583c499bb50c3cc59.tar.bz2 |
MLK-10176-3 imx: mx7: Add clock support
Since a new CCM with clock root slice is introduced in mx7. Provide
several APIs for configuring root slice in clock_slice.c
Implement clock/PLL relevant functions for modules in mx7d to
enable/disable/set/get clocks or PLLs.
From mx7d, the clocks are initialized in function "void clock_init(void)",
such as UART, USDHC, ECSPI, USB, WDOG, WEIM. These module don't have clock
setting functions in driver and BSP, and assume the clock is setup before
entering into u-boot. Because default root clock is 24Mhz OSC, we have
to setup these default clocks.
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Signed-off-by: Ye.Li <B37916@freescale.com>
(cherry picked from commit 73b511503aef9675e58baadc0639d59c8395bcb4)
Diffstat (limited to 'arch/arm/cpu/armv7/mx7/Makefile')
-rw-r--r-- | arch/arm/cpu/armv7/mx7/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/mx7/Makefile b/arch/arm/cpu/armv7/mx7/Makefile new file mode 100644 index 0000000..fee1ba5 --- /dev/null +++ b/arch/arm/cpu/armv7/mx7/Makefile @@ -0,0 +1,8 @@ +# +# (C) Copyright 2014-2015 Freescale Semiconductor, Inc. +# +# SPDX-License-Identifier: GPL-2.0+ +# +# + +obj-y := clock.o clock_slice.o |