OSDN Git Service

hw/arm/virt: Provide PL031 RTC
authorPeter Maydell <peter.maydell@linaro.org>
Sun, 29 Jun 2014 17:38:39 +0000 (18:38 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Sun, 29 Jun 2014 17:38:39 +0000 (18:38 +0100)
commit6e411af9351c1b82c2a749653eb4b8d35bf8c04a
tree1a0e951cae026dc99b35e21fe2e7ab64976e65e8
parent9328cfd2fe4a7ff86a41b2c26ea33974241d7d4e
hw/arm/virt: Provide PL031 RTC

UEFI mandates that the platform must include an RTC, so provide
one in 'virt', using the PL031. This is also useful for directly
booting Linux kernels which would otherwise have to run ntpdate.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
hw/arm/virt.c