]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: qemu-arm: enable RTC
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 28 Jun 2018 22:34:16 +0000 (00:34 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 19 Jul 2018 20:31:37 +0000 (16:31 -0400)
commitb19886b9469174213877ef37670ce35c55acb456
treee329b61bfc9c4fd6bef5e962e30b84fd6150c197
parentb71bb87af90f54ff109fa0449d07d91764c0794a
ARM: qemu-arm: enable RTC

QEMU provides an emulated ARM AMBA PrimeCell PL031 RTC.

The patch sets the base address in the board include file according to the
definition in hw/arm/virt.c of the QEMU source. It defines the Kconfig
option for the existing driver, and enables the RTC driver in
qemu_arm64_defconfig and qemu_arm_defconfig as well as the date command.

We need an RTC to provide the GetTime() runtime service in the UEFI
subsystem.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Tested-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
configs/qemu_arm64_defconfig
configs/qemu_arm_defconfig
drivers/rtc/Kconfig
include/configs/qemu-arm.h