[U-Boot] [RFC PATCH 10/13] arm: nexell: add timer support

Simon Glass
2017-12-02T03:31:25Z

On 29 November 2017 at 18:25, Andre Przywara <andre.przywara@arm.com> wrote:
> From: Amit Singh Tomar <amittomer25@gmail.com>
>
> Nexell based SoCs (S5P4414 and S5P6818) contain the same timer block as
> present on Samsungs SoCs.
>
> Add this timer code when compiling for Nexell SoC and provide the
> necessary glue functions to make the Samsung timer driver happy.
>
> Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
> ---
> arch/arm/include/asm/arch-nexell/clk.h | 1 +
> arch/arm/include/asm/arch-nexell/pwm.h | 62 ++++++++++++++++++++++++++++++++++
> arch/arm/mach-nexell/Makefile | 2 ++
> arch/arm/mach-nexell/board.c | 37 +++++++++++++++++---
> 4 files changed, 97 insertions(+), 5 deletions(-)
> create mode 100644 arch/arm/include/asm/arch-nexell/pwm.h

Reviewed-by: Simon Glass <sjg@chromium.org>

But I encourage use of setclrbits_le32()