[U-Boot] [PATCH v2 0/8] ARM: keystone2: Clocks and PLLs cleanup
Lokesh Vutla
lokeshvutla at ti.com
Tue Jul 28 10:46:40 CEST 2015
This seires does a several bunch of cleanups for clock and PLL
related definitions. This helps a lot in adding data for
new Keystone2 SoCs. And also adds support for CPU detection.
This is based on Nishanth's config cleanup series:
https://www.mail-archive.com/u-boot%40lists.denx.de/msg177822.html
Tested on K2HK-evm: http://pastebin.ubuntu.com/11952380/
Changes since v1:
- Added support for detecting SR
- Corrected CPU detection.
- Corrected DEV speeds for Edison
- Added proper delays for PLL init code.
Lokesh Vutla (8):
ARM: keystone2: Cleanup SoC detection
ARM: keystone2: Enable CONFIG_DISPLAY_CPUINFO
ARM: keystone2: Cleanup PLL init code
ARM: keystone2: Fix dev and arm speed detection
ARM: keystone2: Use common structure for PLLs
ARM: keystone2: Cleanup init_pll definition
ARM: keystone2: Remove unsed external clocks
ARM: keystone2: Use common definition for clk_get_rate
arch/arm/mach-keystone/Makefile | 3 -
arch/arm/mach-keystone/clock-k2e.c | 117 -----
arch/arm/mach-keystone/clock-k2hk.c | 145 ------
arch/arm/mach-keystone/clock-k2l.c | 138 ------
arch/arm/mach-keystone/clock.c | 513 +++++++++++++--------
arch/arm/mach-keystone/cmd_clock.c | 7 +-
arch/arm/mach-keystone/include/mach/clock-k2e.h | 58 +--
arch/arm/mach-keystone/include/mach/clock-k2hk.h | 64 +--
arch/arm/mach-keystone/include/mach/clock-k2l.h | 59 +--
arch/arm/mach-keystone/include/mach/clock.h | 67 ++-
arch/arm/mach-keystone/include/mach/clock_defs.h | 98 ++--
.../arm/mach-keystone/include/mach/hardware-k2hk.h | 4 -
arch/arm/mach-keystone/include/mach/hardware.h | 51 +-
arch/arm/mach-keystone/init.c | 32 ++
board/ti/ks2_evm/board.c | 1 -
board/ti/ks2_evm/board_k2e.c | 76 ++-
board/ti/ks2_evm/board_k2hk.c | 69 +--
board/ti/ks2_evm/board_k2l.c | 68 +--
include/configs/ti_armv7_keystone2.h | 1 +
19 files changed, 663 insertions(+), 908 deletions(-)
delete mode 100644 arch/arm/mach-keystone/clock-k2e.c
delete mode 100644 arch/arm/mach-keystone/clock-k2hk.c
delete mode 100644 arch/arm/mach-keystone/clock-k2l.c
--
2.1.4
More information about the U-Boot
mailing list