Files
u-boot/drivers
Stephen Warren bb883f824c timer: sandbox: work without device tree
A default invocation of sandbox U-Boot apparently uses no device tree,
which means that no timer is registers, which in turn means that the
sleep shell command hangs.

Fix the sandbox timer code to register a device when there's no DT, just
like e.g. the sandbox reset driver does. When there's no DT, the DM uclass
can't initialize clock_rate from DT, so set a default value in the
timer code instead.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
2016-01-20 19:06:23 -07:00
..
2015-11-02 10:38:00 +09:00
2015-12-01 08:07:22 -07:00
2016-01-19 08:31:21 -05:00
2016-01-13 21:05:19 -05:00
2015-10-22 14:22:22 -04:00
2016-01-19 08:31:21 -05:00
2016-01-19 08:31:21 -05:00
2015-05-26 14:13:12 +02:00
2015-10-23 09:42:28 -06:00
2016-01-19 08:31:21 -05:00