board/qemu/aarch64-virt/linux.config: add RTC PL031 driver
authorRomain Naour <romain.naour@gmail.com>
Mon, 6 Jul 2020 23:41:45 +0000 (01:41 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 11 Jul 2020 13:51:44 +0000 (15:51 +0200)
Qemu for the aarch64 virt emulate an RTC PL031 device.
Enable the kernel support to allow setting the system time.

"date" now return the current time:
Sun Jul  5 20:38:50 UTC 2020

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
board/qemu/aarch64-virt/linux.config

index 948b06b0a23414d103974e28ddf7478548c7f635..49018efe954c038692896cf12053002f1f1fce0d 100644 (file)
@@ -45,6 +45,7 @@ CONFIG_VIRTIO_CONSOLE=y
 CONFIG_HW_RANDOM=y
 CONFIG_HW_RANDOM_VIRTIO=y
 CONFIG_RTC_CLASS=y
+CONFIG_RTC_DRV_PL031=y
 CONFIG_VIRTIO_MMIO=y
 CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y
 CONFIG_MAILBOX=y