All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xilinx: zynqmp: Enable DM_RTC/emul driver/cmd date/gettime and efi settime
@ 2021-05-12  8:14 Michal Simek
  2021-05-19  8:06 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2021-05-12  8:14 UTC (permalink / raw)
  To: u-boot

Right now U-Boot is not aware about date/time that's why enable it by
default also with EFI runtime service for setting time.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 configs/xilinx_zynqmp_virt_defconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configs/xilinx_zynqmp_virt_defconfig b/configs/xilinx_zynqmp_virt_defconfig
index b17a950db11e..e2968cb8411e 100644
--- a/configs/xilinx_zynqmp_virt_defconfig
+++ b/configs/xilinx_zynqmp_virt_defconfig
@@ -63,6 +63,7 @@ CONFIG_CMD_BMP=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EFIDEBUG=y
 CONFIG_CMD_TIME=y
+CONFIG_CMD_GETTIME=y
 CONFIG_CMD_TIMER=y
 CONFIG_CMD_TPM=y
 CONFIG_CMD_EXT4_WRITE=y
@@ -144,6 +145,8 @@ CONFIG_PHY_XILINX_GMII2RGMII=y
 CONFIG_PHY_FIXED=y
 CONFIG_XILINX_AXIEMAC=y
 CONFIG_ZYNQ_GEM=y
+CONFIG_DM_RTC=y
+CONFIG_RTC_EMULATION=y
 CONFIG_SCSI=y
 CONFIG_DM_SCSI=y
 CONFIG_ARM_DCC=y
@@ -184,6 +187,7 @@ CONFIG_TPM=y
 CONFIG_SPL_GZIP=y
 # CONFIG_SPL_HEXDUMP is not set
 CONFIG_OF_LIBFDT_OVERLAY=y
+CONFIG_EFI_SET_TIME=y
 CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
 CONFIG_EFI_CAPSULE_ON_DISK=y
 CONFIG_EFI_CAPSULE_ON_DISK_EARLY=y
-- 
2.31.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] xilinx: zynqmp: Enable DM_RTC/emul driver/cmd date/gettime and efi settime
  2021-05-12  8:14 [PATCH] xilinx: zynqmp: Enable DM_RTC/emul driver/cmd date/gettime and efi settime Michal Simek
@ 2021-05-19  8:06 ` Michal Simek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2021-05-19  8:06 UTC (permalink / raw)
  To: u-boot

st 12. 5. 2021 v 10:14 odes?latel Michal Simek <michal.simek@xilinx.com> napsal:
>
> Right now U-Boot is not aware about date/time that's why enable it by
> default also with EFI runtime service for setting time.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
>  configs/xilinx_zynqmp_virt_defconfig | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/configs/xilinx_zynqmp_virt_defconfig b/configs/xilinx_zynqmp_virt_defconfig
> index b17a950db11e..e2968cb8411e 100644
> --- a/configs/xilinx_zynqmp_virt_defconfig
> +++ b/configs/xilinx_zynqmp_virt_defconfig
> @@ -63,6 +63,7 @@ CONFIG_CMD_BMP=y
>  CONFIG_CMD_CACHE=y
>  CONFIG_CMD_EFIDEBUG=y
>  CONFIG_CMD_TIME=y
> +CONFIG_CMD_GETTIME=y
>  CONFIG_CMD_TIMER=y
>  CONFIG_CMD_TPM=y
>  CONFIG_CMD_EXT4_WRITE=y
> @@ -144,6 +145,8 @@ CONFIG_PHY_XILINX_GMII2RGMII=y
>  CONFIG_PHY_FIXED=y
>  CONFIG_XILINX_AXIEMAC=y
>  CONFIG_ZYNQ_GEM=y
> +CONFIG_DM_RTC=y
> +CONFIG_RTC_EMULATION=y
>  CONFIG_SCSI=y
>  CONFIG_DM_SCSI=y
>  CONFIG_ARM_DCC=y
> @@ -184,6 +187,7 @@ CONFIG_TPM=y
>  CONFIG_SPL_GZIP=y
>  # CONFIG_SPL_HEXDUMP is not set
>  CONFIG_OF_LIBFDT_OVERLAY=y
> +CONFIG_EFI_SET_TIME=y
>  CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
>  CONFIG_EFI_CAPSULE_ON_DISK=y
>  CONFIG_EFI_CAPSULE_ON_DISK_EARLY=y
> --
> 2.31.1
>

Applied.
M

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-19  8:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-12  8:14 [PATCH] xilinx: zynqmp: Enable DM_RTC/emul driver/cmd date/gettime and efi settime Michal Simek
2021-05-19  8:06 ` Michal Simek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.