aboutsummaryrefslogtreecommitdiff
path: root/fs/jffs2
diff options
context:
space:
mode:
authorPhilipp Tomsich2017-09-11 22:04:16 +0200
committerPhilipp Tomsich2017-09-18 20:40:34 +0200
commitcc7ce94e02799c5caa6d9c89350152f00ba3eb90 (patch)
tree0cd832809f79d2b4789f6493fb31e23ce209824c /fs/jffs2
parentbe5f04e850e89639ffe7ec4d2dccd327eb354cde (diff)
rockchip: timer: implement timer_get_boot_us
To make the Rockchip DM timer driver useful for the timing of bootstages, we need a few enhancements: - This implements timer_get_boot_us. - This avoids reinitialising the timer, if it has already been set up (e.g. by our TPL and SPL stages). Now, we have a single timebase ticking from TPL through the full U-Boot. - This adds support for reading the timer even before the device-model is ready: we find the timer via /chosen/tick-timer, then read its address and clock-frequency, and finally read the timeval directly). Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions