From 93fe418132fa89daa3e8e03209b3d9782a20e8c0 Mon Sep 17 00:00:00 2001 From: Alistair Delva Date: Fri, 5 Jun 2020 15:39:13 -0700 Subject: [PATCH] ANDROID: cuttlefish_defconfig: Disable CMOS RTC driver Android expects rtc0 to support saving the system clock, however the CMOS rtc emulated by crosvm currently only supports 24hr alarms, so it is not useful. As this useless rtc driver occupied rtc0 it broke various tests and features. The older crosvm used by cuttlefish did not simulate an RTC so it was not affected because the driver probe failed. Bug: 158000323 Change-Id: I54590ceb0f09e6b1ff1f7ed094dab66ed7e58672 Signed-off-by: Alistair Delva --- arch/x86/configs/x86_64_cuttlefish_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/configs/x86_64_cuttlefish_defconfig b/arch/x86/configs/x86_64_cuttlefish_defconfig index 45bdd98bf374..de115c2a6d4c 100644 --- a/arch/x86/configs/x86_64_cuttlefish_defconfig +++ b/arch/x86/configs/x86_64_cuttlefish_defconfig @@ -429,6 +429,7 @@ CONFIG_USB_CONFIGFS_UEVENT=y CONFIG_USB_CONFIGFS_F_MIDI=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_TEST=y +# CONFIG_RTC_DRV_CMOS is not set CONFIG_VIRTIO_PCI=y CONFIG_VIRTIO_PMEM=y CONFIG_VIRTIO_INPUT=y