aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@gmail.com>2020-07-07 01:41:45 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-07-11 15:51:44 +0200
commita3bf3399079e4a69b4ef1f22b044ce7358ff0de2 (patch)
tree2cb04b7a04a0c6b39e0b1f9ae872feab5d473340 /board
parente933fd5f8fb1f64ab92fd6c006a1f13f51cc5a05 (diff)
downloadbuildroot-a3bf3399079e4a69b4ef1f22b044ce7358ff0de2.tar.gz
buildroot-a3bf3399079e4a69b4ef1f22b044ce7358ff0de2.tar.bz2
board/qemu/aarch64-virt/linux.config: add RTC PL031 driver
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>
Diffstat (limited to 'board')
-rw-r--r--board/qemu/aarch64-virt/linux.config1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/qemu/aarch64-virt/linux.config b/board/qemu/aarch64-virt/linux.config
index 948b06b0a2..49018efe95 100644
--- a/board/qemu/aarch64-virt/linux.config
+++ b/board/qemu/aarch64-virt/linux.config
@@ -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