diff mbox series

[v3,3/3] arm: qemu-arm: enable RTC (PL031) by default

Message ID 20180711090608.11526-4-takahiro.akashi@linaro.org
State New
Headers show
Series subject: arm: qemu-arm: enable PL031 (RTC) | expand

Commit Message

AKASHI Takahiro July 11, 2018, 9:06 a.m. UTC
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>
---
 arch/arm/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

Heinrich Schuchardt July 11, 2018, 10:36 a.m. UTC | #1
On 07/11/2018 11:06 AM, AKASHI Takahiro wrote:
> 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>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
diff mbox series

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 00b28480b4..b7b1dca289 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -714,6 +714,8 @@  config ARCH_QEMU
 	select DM_SERIAL
 	select OF_CONTROL
 	select PL01X_SERIAL
+	imply DM_RTC
+	imply RTC_PL031
 
 config ARCH_RMOBILE
 	bool "Renesas ARM SoCs"