[U-Boot] [U-Boot, v4, 4/5] board: atmel: clean up peripheral clock code

Andreas Bießmann andreas.devel at googlemail.com
Thu Feb 18 22:27:20 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 reduce duplicated code.
>
>Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>
>Tested-by: Heiko Schocher <hs at denx.de>
>[Rebased on current master, fixup for at91rm9200ek]
>Signed-off-by: Andreas Bießmann <andreas.devel at googlemail.com>
>---
> board/atmel/at91rm9200ek/at91rm9200ek.c         |  1 -
> board/atmel/at91rm9200ek/led.c                  |  6 ++----
> board/atmel/at91sam9260ek/at91sam9260ek.c       | 15 +++++----------
> board/atmel/at91sam9261ek/at91sam9261ek.c       |  8 ++------
> board/atmel/at91sam9261ek/led.c                 |  6 ++----
> board/atmel/at91sam9263ek/at91sam9263ek.c       | 23 +++++++----------------
> board/atmel/at91sam9263ek/led.c                 |  9 +++------
> board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 20 +++++---------------
> board/atmel/at91sam9m10g45ek/led.c              |  7 ++-----
> board/atmel/at91sam9n12ek/at91sam9n12ek.c       |  6 ++----
> board/atmel/at91sam9rlek/at91sam9rlek.c         | 18 ++++++------------
> board/atmel/at91sam9rlek/led.c                  |  7 ++-----
> board/atmel/at91sam9x5ek/at91sam9x5ek.c         | 10 +++-------
> board/atmel/sama5d2_xplained/sama5d2_xplained.c |  1 -
> board/atmel/sama5d3_xplained/sama5d3_xplained.c |  5 ++---
> board/atmel/sama5d3xek/sama5d3xek.c             |  5 ++---
> board/atmel/sama5d4_xplained/sama5d4_xplained.c |  5 ++---
> board/atmel/sama5d4ek/sama5d4ek.c               |  5 ++---
> board/bluewater/snapper9260/snapper9260.c       | 15 +++++----------
> board/calao/usb_a9263/usb_a9263.c               | 11 ++++-------
> board/egnite/ethernut5/ethernut5.c              | 20 ++++++++------------
> board/esd/meesc/meesc.c                         | 15 ++++++---------
> board/mini-box/picosam9g45/led.c                |  7 ++-----
> board/mini-box/picosam9g45/picosam9g45.c        | 17 ++++-------------
> board/ronetix/pm9261/led.c                      |  7 ++-----
> board/ronetix/pm9261/pm9261.c                   | 22 ++++++----------------
> board/ronetix/pm9263/led.c                      |  7 ++-----
> board/ronetix/pm9263/pm9263.c                   | 19 +++++--------------
> board/ronetix/pm9g45/pm9g45.c                   | 20 ++++++--------------
> board/siemens/corvus/board.c                    |  6 ++----
> board/siemens/smartweb/smartweb.c               |  3 +--
> board/siemens/taurus/taurus.c                   |  3 +--
> 32 files changed, 103 insertions(+), 226 deletions(-)

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

I had to rebase and fix some includes for
 at91rm9200ek  board files.

Best regards,
Andreas Bießmann


More information about the U-Boot mailing list