From mboxrd@z Thu Jan 1 00:00:00 1970 From: AKASHI Takahiro Date: Wed, 4 Jul 2018 16:36:26 +0900 Subject: [U-Boot] [PATCH v2 0/2] arm: qemu-arm: enable PL031 (RTC) Message-ID: <20180704073628.23596-1-takahiro.akashi@linaro.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This is a revised version of my proposal[1]. [1] https://lists.denx.de/pipermail/u-boot/2018-July/333534.html VMs provided by qemu for arm are equiped with PL031 device. In patch#1, pl031 driver is converted to driver model, and in patch#2, this driver is enabled in defconfig of qemu-arm. This patch set is motivated by running UEFI SCT(Self-Certification Test) and measuring time on u-boot on qemu-arm. Heinrich has already posted UEFI's GetTime() implementation. Changes in v2(July 4, 2018) * based on Heinrich's comments, * remove legacy mode interface * enable the driver in defconfig AKASHI Takahiro (2): rtc: pl031: convert the driver to driver model arm: qemu-arm: enable PL031 (RTC) in defconfig configs/qemu_arm64_defconfig | 2 + configs/qemu_arm_defconfig | 2 + drivers/rtc/Kconfig | 6 ++ drivers/rtc/pl031.c | 109 +++++++++++++++++---------- include/dm/platform_data/rtc_pl031.h | 12 +++ 5 files changed, 91 insertions(+), 40 deletions(-) create mode 100644 include/dm/platform_data/rtc_pl031.h -- 2.17.0