rockchip: add timer driver
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@rock-chips.com> Acked-by:
Simon Glass <sjg@chromium.org>
Showing
- arch/arm/include/asm/arch-rockchip/timer.h 22 additions, 0 deletionsarch/arm/include/asm/arch-rockchip/timer.h
- arch/arm/mach-rockchip/Makefile 1 addition, 0 deletionsarch/arm/mach-rockchip/Makefile
- arch/arm/mach-rockchip/board-spl.c 2 additions, 19 deletionsarch/arm/mach-rockchip/board-spl.c
- arch/arm/mach-rockchip/rk_timer.c 48 additions, 0 deletionsarch/arm/mach-rockchip/rk_timer.c
- include/configs/rk3288_common.h 2 additions, 1 deletioninclude/configs/rk3288_common.h
Loading
Please register or sign in to comment