[U-Boot] [PATCH v3 0/3] ARM: at91: add PMC_PLLICPR init function

Wenyou Yang wenyou.yang at atmel.com
Tue Feb 2 05:46:11 CET 2016


To reduce the duplicated code, add PLLICPR init function, use
the function to clean up the PMC_PLLICPR directly writing code.

It is based on the following patch set.
	http://lists.denx.de/pipermail/u-boot/2016-February/244370.html
	http://lists.denx.de/pipermail/u-boot/2016-February/244399.html
	http://lists.denx.de/pipermail/u-boot/2016-February/244408.html

Changes in v3:
 - collect Tested-by from Heiko Schocher.

Changes in v2:
 - move at91_pllicpr_init() definition to the common file, clock.c.
 - fix checkpatch errors.

Wenyou Yang (3):
  ARM: at91: clock: add PMC_PLLICPR init function
  ARM: at91: clean up the PMC_PLLICPR init code
  board: atmel: clean up the PMC_PLLICPR init code

 arch/arm/mach-at91/clock.c                      |    7 +++++++
 arch/arm/mach-at91/include/mach/at91_pmc.h      |    7 +++++++
 arch/arm/mach-at91/include/mach/clk.h           |    1 +
 arch/arm/mach-at91/spl_at91.c                   |    5 +----
 board/atmel/sama5d3_xplained/sama5d3_xplained.c |    4 +---
 board/atmel/sama5d3xek/sama5d3xek.c             |    4 +---
 board/atmel/sama5d4_xplained/sama5d4_xplained.c |    4 +---
 board/atmel/sama5d4ek/sama5d4ek.c               |    4 +---
 8 files changed, 20 insertions(+), 16 deletions(-)

-- 
1.7.9.5



More information about the U-Boot mailing list