[U-Boot] [RESEND PATCH v3 01/20] rockchip: add timer driver

Simon Glass sjg at chromium.org
Fri Nov 6 13:08:43 CET 2015


On 6 November 2015 at 01:53, 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>
> ---
> Changes in v1: None
> Changes in v2:
> - add udelay function
> Changes in v3:
> - fix some coding style
>
>  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

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list