[U-Boot] [PATCH 1/1] ARM: qemu-arm: enable RTC

Tuomas Tynkkynen tuomas.tynkkynen at iki.fi
Mon Jul 2 16:07:55 UTC 2018


Hi Heinrich,

On 06/29/2018 01:34 AM, Heinrich Schuchardt wrote:
> 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 at gmx.de>
> ---
>   configs/qemu_arm64_defconfig | 2 ++
>   configs/qemu_arm_defconfig   | 2 ++
>   drivers/rtc/Kconfig          | 7 +++++++
>   include/configs/qemu-arm.h   | 3 +++
>   4 files changed, 14 insertions(+)
> 

Reviewed-by: Tuomas Tynkkynen <tuomas.tynkkynen at iki.fi>
Tested-by: Tuomas Tynkkynen <tuomas.tynkkynen at iki.fi>

- Tuomas


More information about the U-Boot mailing list