From: AKASHI Takahiro <takahiro.akashi@linaro.org>
Date: Fri, 14 Sep 2018 08:06:54 +0000 (+0900)
Subject: arm: qemu-arm: enable RTC (PL031) by default
X-Git-Tag: v2025.01-rc5-pxa1908~3516^2~2
X-Git-Url: http://git.dujemihanovic.xyz/img/html/index.html?a=commitdiff_plain;h=a47c1b5b87fcbd2bdb2e297d3c41d41c0c663967;p=u-boot.git

arm: qemu-arm: enable RTC (PL031) by default

Virtual machine provided by qemu-arm has a ARM PL031 Real Time Clock
device. With this patch, the driver is enabled by default.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
---

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 0f8dd32bdd..b39d08539a 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -747,6 +747,8 @@ config ARCH_QEMU
 	select OF_CONTROL
 	select PL01X_SERIAL
 	imply CMD_DM
+	imply DM_RTC
+	imply RTC_PL031
 
 config ARCH_RMOBILE
 	bool "Renesas ARM SoCs"