[U-Boot] [U-Boot, v4, 3/5] ARM: cpu: at91: clean up peripheral clock code

Andreas Bießmann andreas.devel at googlemail.com
Thu Feb 18 22:27:19 CET 2016


Dear Wenyou Yang,

Wenyou Yang <wenyou.yang at atmel.com> writes:
>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 at atmel.com>
>Tested-by: Heiko Schocher <hs at denx.de>
>Reviewed-by: Andreas Bießmann <andreas.devel at googlemail.com>
>[fixup for arm920t code]
>Signed-off-by: Andreas Bießmann <andreas.devel at googlemail.com>
>---
> arch/arm/mach-at91/arm920t/at91rm9200_devices.c    | 14 +++-----
> arch/arm/mach-at91/arm920t/timer.c                 |  6 ++--
> arch/arm/mach-at91/arm926ejs/at91sam9260_devices.c | 36 +++++--------------
> arch/arm/mach-at91/arm926ejs/at91sam9261_devices.c | 28 ++++-----------
> arch/arm/mach-at91/arm926ejs/at91sam9263_devices.c | 37 +++++---------------
> .../mach-at91/arm926ejs/at91sam9m10g45_devices.c   | 33 +++++-------------
> arch/arm/mach-at91/arm926ejs/at91sam9n12_devices.c | 40 ++++++----------------
> arch/arm/mach-at91/arm926ejs/at91sam9rl_devices.c  | 28 ++++-----------
> arch/arm/mach-at91/arm926ejs/at91sam9x5_devices.c  | 38 ++++++--------------
> arch/arm/mach-at91/arm926ejs/cpu.c                 |  1 -
> arch/arm/mach-at91/arm926ejs/timer.c               |  5 +--
> arch/arm/mach-at91/armv7/cpu.c                     |  1 -
> arch/arm/mach-at91/armv7/timer.c                   |  1 -
> arch/arm/mach-at91/phy.c                           |  1 -
> arch/arm/mach-at91/sdram.c                         |  1 -
> 15 files changed, 67 insertions(+), 203 deletions(-)

applied to u-boot-atmel/master, thanks!

I had to fix the arm920t code for clean build of
 at91rm9200ek boards.

Best regards,
Andreas Bießmann


More information about the U-Boot mailing list