]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: cpu: at91: clean up peripheral clock code
authorWenyou Yang <wenyou.yang@atmel.com>
Wed, 3 Feb 2016 02:16:49 +0000 (10:16 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Thu, 18 Feb 2016 20:34:40 +0000 (21:34 +0100)
commiteced5a7eb4750e16dd571a9bd4980c68d2276f11
treefd1a74475bf9f233a8e28d46910d9019df53241a
parent41bf25c2e1c134455257f91bbfa9dc582b687bc4
ARM: cpu: at91: clean up peripheral clock code

Due to introducing the new peripheral clock handle functions,
use these functions to clean up the duplicated code.

Meanwhile, remove unneeded header file include, at91_pmc.h.

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>
[fixup for arm920t code]
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
15 files changed:
arch/arm/mach-at91/arm920t/at91rm9200_devices.c
arch/arm/mach-at91/arm920t/timer.c
arch/arm/mach-at91/arm926ejs/at91sam9260_devices.c
arch/arm/mach-at91/arm926ejs/at91sam9261_devices.c
arch/arm/mach-at91/arm926ejs/at91sam9263_devices.c
arch/arm/mach-at91/arm926ejs/at91sam9m10g45_devices.c
arch/arm/mach-at91/arm926ejs/at91sam9n12_devices.c
arch/arm/mach-at91/arm926ejs/at91sam9rl_devices.c
arch/arm/mach-at91/arm926ejs/at91sam9x5_devices.c
arch/arm/mach-at91/arm926ejs/cpu.c
arch/arm/mach-at91/arm926ejs/timer.c
arch/arm/mach-at91/armv7/cpu.c
arch/arm/mach-at91/armv7/timer.c
arch/arm/mach-at91/phy.c
arch/arm/mach-at91/sdram.c