ARM: at91: clock: add a new file to handle clock
authorWenyou Yang <wenyou.yang@atmel.com>
Wed, 3 Feb 2016 02:16:48 +0000 (10:16 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Thu, 18 Feb 2016 20:34:40 +0000 (21:34 +0100)
commit41bf25c2e1c134455257f91bbfa9dc582b687bc4
treef7439dc5ca3e62abe9fd117494a964cfeddf59ca
parente5322df4e7dda98f70da78cc49bc13db93b89c91
ARM: at91: clock: add a new file to handle clock

To reduce the duplicated code, add a new file to accommodate
the peripheral's and system's clock handle code, shared with
the SoCs with different ARM core.

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>
arch/arm/mach-at91/Makefile
arch/arm/mach-at91/arm926ejs/clock.c
arch/arm/mach-at91/armv7/clock.c
arch/arm/mach-at91/clock.c [new file with mode: 0644]
arch/arm/mach-at91/include/mach/clk.h