[PATCH] xilinx: zynqmp: Enable DM_RTC/emul driver/cmd date/gettime and efi settime

Michal Simek monstr at monstr.eu
Wed May 19 10:06:14 CEST 2021


st 12. 5. 2021 v 10:14 odesílatel Michal Simek <michal.simek at 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 at 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


More information about the U-Boot mailing list