diff options
author | Tri Vo <trong@google.com> | 2019-07-23 13:20:59 -0700 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2019-09-16 13:09:02 +0530 |
commit | e6e4d57e3b822495c22534d9007de670e5b4edcb (patch) | |
tree | 4f3521916e93e6ce02855b995b1856d576671f71 /arch | |
parent | e35a4a45a4e33d12fc3740ba7c0ded8bf9bb6e63 (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
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/configs/x86_64_cuttlefish_defconfig | 1 |
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 2b68186ad023..87b67d436a6a 100644 --- a/arch/x86/configs/x86_64_cuttlefish_defconfig +++ b/arch/x86/configs/x86_64_cuttlefish_defconfig @@ -405,6 +405,7 @@ CONFIG_MMC=y # CONFIG_PWRSEQ_SIMPLE is not set # CONFIG_MMC_BLOCK is not set CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_TEST=y CONFIG_SW_SYNC=y CONFIG_VIRTIO_PCI=y CONFIG_VIRTIO_BALLOON=y |