[U-Boot] [PATCH v6 01/23] rockchip: add timer driver

Simon Glass sjg at chromium.org
Thu Nov 19 15:19:39 CET 2015


On 16 November 2015 at 23:20, Lin Huang <hl at rock-chips.com> wrote:
> some rockchip soc will not include lib/timer.c in SPL stage,
> so implement timer driver for some soc can use us delay function in SPL.
>
> Signed-off-by: Lin Huang <hl at rock-chips.com>
> Acked-by: Simon Glass <sjg at chromium.org>
> ---
> Changes in v1: None
> Changes in v2:
> - add udelay function
> Changes in v3:
> - fix some coding style
> Changes in v4: None
> Changes in v5: None
> Changes in v6:
> - Adviced by Ben Chan:
> - use uint64_t as usec_to_tick() return type
>
>  arch/arm/include/asm/arch-rockchip/timer.h | 22 ++++++++++++++
>  arch/arm/mach-rockchip/Makefile            |  1 +
>  arch/arm/mach-rockchip/board-spl.c         | 21 ++-----------
>  arch/arm/mach-rockchip/rk_timer.c          | 48 ++++++++++++++++++++++++++++++
>  include/configs/rk3288_common.h            |  3 +-
>  5 files changed, 75 insertions(+), 20 deletions(-)
>  create mode 100644 arch/arm/include/asm/arch-rockchip/timer.h
>  create mode 100644 arch/arm/mach-rockchip/rk_timer.c

Applied to u-boot-rockchip, thanks!


More information about the U-Boot mailing list