summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Hao <kexin.hao@windriver.com>2021-04-07 19:44:37 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2021-04-07 13:08:17 -0400
commitb12377176581e2c73052bec2ec209248bff41c60 (patch)
treee8e2931d0865c58616c98cfe95ef77f122592a95
parentebdfa18db45eccee5ac259c9fa926d1aef0626f2 (diff)
downloadyocto-kernel-cache-b12377176581e2c73052bec2ec209248bff41c60.tar.gz
yocto-kernel-cache-b12377176581e2c73052bec2ec209248bff41c60.tar.bz2
yocto-kernel-cache-b12377176581e2c73052bec2ec209248bff41c60.zip
qemuppc64: Enable the RTC driver
Enable the RTC driver to fix the following warning in boot: hwclock: can't open '/dev/misc/rtc': No such file or directory Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--bsp/qemu-ppc64/qemu-ppc64.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/bsp/qemu-ppc64/qemu-ppc64.cfg b/bsp/qemu-ppc64/qemu-ppc64.cfg
index 9aac06de..b2a5194d 100644
--- a/bsp/qemu-ppc64/qemu-ppc64.cfg
+++ b/bsp/qemu-ppc64/qemu-ppc64.cfg
@@ -73,3 +73,6 @@ CONFIG_USB_XHCI_PCI=y
CONFIG_USB_XHCI_PLATFORM=y
CONFIG_DRM_BOCHS=n
+
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_DRV_GENERIC=y