From patchwork Wed May 12 08:14:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1477457 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=cn61egWt; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Fg6yz1hP4z9sWW for ; Wed, 12 May 2021 18:14:51 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 19ABD82D1C; Wed, 12 May 2021 10:14:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="cn61egWt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 388CF82D3A; Wed, 12 May 2021 10:14:45 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4F36382D01 for ; Wed, 12 May 2021 10:14:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ej1-x630.google.com with SMTP id w3so33696205ejc.4 for ; Wed, 12 May 2021 01:14:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=A6y3IyuD5P+2K06LEEJbHC0najWwDTAkpFovu7Gb6H4=; b=cn61egWtwih7BzXt+jj5pDsDHba/PaiAjt97y8z+jmRiUXMglC50LZQUI0Wql60MYq zCoA7J8Gayk1i2Ni90/ZT08zVmQjX05pKHC1OcOR9Ng0wM6QNORgWIEWgUgHXXl+BMdF V1HeMwAzxRXR+6cTvcz/IHmtQHWdYFE2iKYba2+UX6X+XSchGuOm/ckC3C/VD9+QBEj0 0axreYDGUEbYtetjghMe2K7xBAcTTiJ6nq0xf6sh+jqEt+BdQ1AyNZVaA+wWMw5JE6u+ aHqBlazlMP7kt+/a+Wv8p1UIkxY/mvKjpTtGkMehqGltp9aU9Plmc3scg29EClMvW7Yi DtDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version:content-transfer-encoding; bh=A6y3IyuD5P+2K06LEEJbHC0najWwDTAkpFovu7Gb6H4=; b=CGpmJ1RhKN0VSBs4KS4413EbyAIQPxAGgNwmwClrMtMwWQidL7qlPOLQQHyAq0Ec/Y RJlenK3QNHa23IbzSFMVqH1+iTv9cqWs9sT8FKTRedQTk+ASxsI/YOiVf7gFU62X3S6z 2jM/fLig6mdb5J/LfKq22s94ubVqrWFi2/Grk9l43khoYnwr9hMZ8zfsRfoCjY+loENb +4mgU/45z0ahFJ6ue+RnRUuOxJMCtpnayyfDlWE8blzF/CiEbdoVy4JIx9qwerU8+7Av aW6nh5rBWUwTzVFtEp9E6v5ciy61z2vNhZiYMyIvgNIzJ+w7eXQBiqRWLkzeB7b97u9h N19A== X-Gm-Message-State: AOAM533B8r5V9GBsQYynGkQiUVhbi519mKV3GkGpx2Uzdp4uoAEb3qze 0MfMjlReO/ZO/fIsZGSp9x3yd7SDttJXUDR8 X-Google-Smtp-Source: ABdhPJwq/JpZKWPR2pM8MRxl0bncp09GCI4IcHyo7b/IKyDDx6hjDnKJ3sYSlQDK02VU6yNhqoRsNQ== X-Received: by 2002:a17:906:251a:: with SMTP id i26mr36599998ejb.367.1620807278611; Wed, 12 May 2021 01:14:38 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id p5sm6773032ejm.115.2021.05.12.01.14.37 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 May 2021 01:14:38 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Subject: [PATCH] xilinx: zynqmp: Enable DM_RTC/emul driver/cmd date/gettime and efi settime Date: Wed, 12 May 2021 10:14:33 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean 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 --- 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