diff options
author | Wenyou Yang <wenyou.yang@atmel.com> | 2016-02-03 10:16:49 +0800 |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2016-02-18 21:34:40 +0100 |
commit | eced5a7eb4750e16dd571a9bd4980c68d2276f11 (patch) | |
tree | fd1a74475bf9f233a8e28d46910d9019df53241a /arch/arm/mach-at91/armv7 | |
parent | 41bf25c2e1c134455257f91bbfa9dc582b687bc4 (diff) | |
download | u-boot-eced5a7eb4750e16dd571a9bd4980c68d2276f11.tar.gz u-boot-eced5a7eb4750e16dd571a9bd4980c68d2276f11.tar.xz u-boot-eced5a7eb4750e16dd571a9bd4980c68d2276f11.zip |
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>
Diffstat (limited to 'arch/arm/mach-at91/armv7')
-rw-r--r-- | arch/arm/mach-at91/armv7/cpu.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-at91/armv7/timer.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-at91/armv7/cpu.c b/arch/arm/mach-at91/armv7/cpu.c index 7843aed813..18653039fe 100644 --- a/arch/arm/mach-at91/armv7/cpu.c +++ b/arch/arm/mach-at91/armv7/cpu.c @@ -12,7 +12,6 @@ #include <common.h> #include <asm/io.h> #include <asm/arch/hardware.h> -#include <asm/arch/at91_pmc.h> #include <asm/arch/at91_pit.h> #include <asm/arch/at91_gpbr.h> #include <asm/arch/clk.h> diff --git a/arch/arm/mach-at91/armv7/timer.c b/arch/arm/mach-at91/armv7/timer.c index a4a3817aa6..6f91e22d0a 100644 --- a/arch/arm/mach-at91/armv7/timer.c +++ b/arch/arm/mach-at91/armv7/timer.c @@ -13,7 +13,6 @@ #include <asm/io.h> #include <asm/arch/hardware.h> #include <asm/arch/at91_pit.h> -#include <asm/arch/at91_pmc.h> #include <asm/arch/clk.h> #include <div64.h> |