[U-Boot] [U-Boot, v4, 2/5] ARM: at91: clock: add a new file to handle clock

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


Dear Wenyou Yang,

Wenyou Yang <wenyou.yang at atmel.com> writes:
>To reduce the duplicated code, add a new file to accommodate
>the peripheral's and system's clock handle code, shared with
>the SoCs with different ARM core.
>
>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>
>---
>
>Changes in v4:
> - due to PMC_PECR1 avaiable when has CPU_HAS_PCR, remove
>   &pmc->pcer1 and &pmc->pcdr1.
>
>Changes in v3:
> - fix incorrectly used the indicator '&' to achieve the variable
>   pointer of pmc->pcer and pmc->pcdr.
>
>Changes in v2: None
>
> arch/arm/mach-at91/Makefile           |    1 +
> arch/arm/mach-at91/arm926ejs/clock.c  |    7 ----
> arch/arm/mach-at91/armv7/clock.c      |   26 -------------
> arch/arm/mach-at91/clock.c            |   66 +++++++++++++++++++++++++++++++++
> arch/arm/mach-at91/include/mach/clk.h |    2 +
> 5 files changed, 69 insertions(+), 33 deletions(-)
> create mode 100644 arch/arm/mach-at91/clock.c

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

Best regards,
Andreas Bießmann


More information about the U-Boot mailing list