summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorPhilipp Tomsich <[email protected]>2017-09-11 22:04:16 +0200
committerPhilipp Tomsich <[email protected]>2017-09-18 20:40:34 +0200
commitcc7ce94e02799c5caa6d9c89350152f00ba3eb90 (patch)
tree0cd832809f79d2b4789f6493fb31e23ce209824c /scripts/const_structs.checkpatch
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 <[email protected]> Reviewed-by: Simon Glass <[email protected]> Acked-by: Philipp Tomsich <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions