summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTri Vo <trong@google.com>2019-07-23 13:20:59 -0700
committerAlistair Delva <adelva@google.com>2019-07-29 08:29:15 +0000
commit1894c6a8cd5e33a3bd55478b196ef46a3b2aeeba (patch)
tree4ed184a4ef1d3325904fc5bfab201cf642edf507
parentc24d05f74cfd8c9e786e945363e48282370614d4 (diff)
ANDROID: enable CONFIG_RTC_DRV_TEST on cuttlefish
CMOS RTC device does not work on cuttlefish due to crosvm not implementing ACPI b/127373130. Add a dummy software RTC driver. Fixes following tests on cuttlefish: VtsKernelApiSysfs#testRtcHctosys VtsKernelLinuxKselftest#rtc_rtctest Bug: 127373130 Test: above tests Signed-off-by: Tri Vo <trong@google.com> Change-Id: I34b69d7808f465add263c5a940d23aa0737dc60f
-rw-r--r--arch/x86/configs/x86_64_cuttlefish_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/configs/x86_64_cuttlefish_defconfig b/arch/x86/configs/x86_64_cuttlefish_defconfig
index 4c80a8b6f0ce..deaecb9a3f1c 100644
--- a/arch/x86/configs/x86_64_cuttlefish_defconfig
+++ b/arch/x86/configs/x86_64_cuttlefish_defconfig
@@ -382,6 +382,7 @@ CONFIG_USB_CONFIGFS_F_AUDIO_SRC=y
CONFIG_USB_CONFIGFS_UEVENT=y
CONFIG_USB_CONFIGFS_F_MIDI=y
CONFIG_RTC_CLASS=y
+CONFIG_RTC_DRV_TEST=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_BALLOON=y
CONFIG_VIRTIO_INPUT=y