]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
xilinx: zynqmp: Enable DM_RTC/emul driver/cmd date/gettime and efi settime
authorMichal Simek <michal.simek@xilinx.com>
Wed, 12 May 2021 08:03:44 +0000 (10:03 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 19 May 2021 08:02:20 +0000 (10:02 +0200)
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

index 934042172a84b31356fb874d9be7aaa666f294d3..e939b04ef6a58bea3527578643200d84b937d6d4 100644 (file)
@@ -59,6 +59,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
@@ -140,6 +141,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
@@ -181,6 +184,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