libpayload: Add timer driver for armada38x
Add timer driver for armada38x BUG=chrome-os-partner:47462 TEST=emerge-cyclone libpayload BRANCH=tot Change-Id: Iefb6d1fcb907edb54d55ba8addfb66329af6c3c7 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: cd467160ecab050a541a445c2afab9e6bc625635 Original-Change-Id: Id42bafdbc34295b6f8afe5610fb3bab0e0e1b6e8 Original-Signed-off-by: Ruilin Hao <rlhao@marvell.com> Original-Reviewed-on: https://chromium-review.googlesource.com/313343 Original-Commit-Ready: Kan Yan <kyan@google.com> Original-Tested-by: Kan Yan <kyan@google.com> Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org> Original-Reviewed-by: Yuji Sasaki <sasakiy@chromium.org> Reviewed-on: https://review.coreboot.org/13114 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
de4defbaaf
commit
5bcbd11b0d
@@ -398,6 +398,12 @@ config TIMER_TEGRA_1US
|
||||
config TIMER_IPQ806X
|
||||
bool "Timer for ipq806x platforms"
|
||||
|
||||
config TIMER_ARMADA38X
|
||||
bool "Timer for armada38x platforms"
|
||||
help
|
||||
This is the timer driver for marvell armada38x
|
||||
platforms.
|
||||
|
||||
config TIMER_RK
|
||||
bool "Timer for Rockchip"
|
||||
|
||||
@@ -450,6 +456,16 @@ config IPQ806X_TIMER_REG
|
||||
help
|
||||
Address of the register to read a free running timer value.
|
||||
|
||||
config ARMADA38X_TIMER_FREQ
|
||||
int "Hardware timer frequency"
|
||||
depends on TIMER_ARMADA38X
|
||||
default 25000000
|
||||
|
||||
config ARMADA38X_TIMER_REG
|
||||
hex "Timer register address"
|
||||
default 0xF1020314
|
||||
depends on TIMER_ARMADA38X
|
||||
|
||||
config IPROC_PERIPH_GLB_TIM_REG_BASE
|
||||
hex "Cygnus timer base address"
|
||||
depends on TIMER_CYGNUS
|
||||
|
Reference in New Issue
Block a user