rockchip: rk3399: add stopwatch functions to m0
authorLin Huang <hl@rock-chips.com>
Wed, 30 Nov 2016 08:57:08 +0000 (16:57 +0800)
committerXing Zheng <zhengxing@rock-chips.com>
Fri, 24 Feb 2017 12:07:44 +0000 (20:07 +0800)
commit95c3f422d843f00076088ad39075af1ec4c93d8e
tree096eb7d85c4f8dfe4966eb4236a69ac88348178a
parent09f41f8ed68de101702a1045ea2570d6f6975fa3
rockchip: rk3399: add stopwatch functions to m0

There is system timer in m0, we can use it to implement a set of
stopwatch functions for measuring timeouts.

Signed-off-by: Lin Huang <hl@rock-chips.com>
Signed-off-by: Derek Basehore <dbasehore@chromium.org>
plat/rockchip/rk3399/drivers/m0/Makefile
plat/rockchip/rk3399/drivers/m0/include/rk3399_mcu.h
plat/rockchip/rk3399/drivers/m0/src/stopwatch.c [new file with mode: 0644]