hw/arm/bcm2835_peripherals: Use the SYS_timer
commit0e5bbd740647398ead41df1f791e2bc438dfb959
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 19 Oct 2019 23:47:03 +0000 (20 01:47 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 25 Oct 2019 12:09:27 +0000 (25 13:09 +0100)
tree55702bc461b18e1fa3cb45c62423be3db638a750
parentd05be883fc92f6f57ba1805ff2a99deb035557a2
hw/arm/bcm2835_peripherals: Use the SYS_timer

Connect the recently added SYS_timer.
Now U-Boot does not hang anymore polling a free running counter
stuck at 0.
This timer is also used by the Linux kernel thermal subsystem.

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20191019234715.25750-5-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/bcm2835_peripherals.c
include/hw/arm/bcm2835_peripherals.h