board: atmel: clean up peripheral clock code
authorWenyou Yang <wenyou.yang@atmel.com>
Wed, 3 Feb 2016 02:16:50 +0000 (10:16 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Thu, 18 Feb 2016 20:34:40 +0000 (21:34 +0100)
commit70341e2ed9a0ff98a777febb7b56dbcee4d885c4
tree791c3679b750e1d5a0e76a6f3c76453250bb073c
parenteced5a7eb4750e16dd571a9bd4980c68d2276f11
board: atmel: clean up peripheral clock code

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

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Tested-by: Heiko Schocher <hs@denx.de>
[Rebased on current master, fixup for at91rm9200ek]
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
32 files changed:
board/atmel/at91rm9200ek/at91rm9200ek.c
board/atmel/at91rm9200ek/led.c
board/atmel/at91sam9260ek/at91sam9260ek.c
board/atmel/at91sam9261ek/at91sam9261ek.c
board/atmel/at91sam9261ek/led.c
board/atmel/at91sam9263ek/at91sam9263ek.c
board/atmel/at91sam9263ek/led.c
board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
board/atmel/at91sam9m10g45ek/led.c
board/atmel/at91sam9n12ek/at91sam9n12ek.c
board/atmel/at91sam9rlek/at91sam9rlek.c
board/atmel/at91sam9rlek/led.c
board/atmel/at91sam9x5ek/at91sam9x5ek.c
board/atmel/sama5d2_xplained/sama5d2_xplained.c
board/atmel/sama5d3_xplained/sama5d3_xplained.c
board/atmel/sama5d3xek/sama5d3xek.c
board/atmel/sama5d4_xplained/sama5d4_xplained.c
board/atmel/sama5d4ek/sama5d4ek.c
board/bluewater/snapper9260/snapper9260.c
board/calao/usb_a9263/usb_a9263.c
board/egnite/ethernut5/ethernut5.c
board/esd/meesc/meesc.c
board/mini-box/picosam9g45/led.c
board/mini-box/picosam9g45/picosam9g45.c
board/ronetix/pm9261/led.c
board/ronetix/pm9261/pm9261.c
board/ronetix/pm9263/led.c
board/ronetix/pm9263/pm9263.c
board/ronetix/pm9g45/pm9g45.c
board/siemens/corvus/board.c
board/siemens/smartweb/smartweb.c
board/siemens/taurus/taurus.c