From patchwork Thu Apr 29 13:59:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1471737 X-Patchwork-Delegate: trini@ti.com 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=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (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=s5KfzH8J; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FWHDg6sGsz9sX2 for ; Thu, 29 Apr 2021 23:59:29 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 28E2E82CDB; Thu, 29 Apr 2021 15:59:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=monstr.eu Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="s5KfzH8J"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B159E82CDC; Thu, 29 Apr 2021 15:59:12 +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-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) (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 2735282CD4 for ; Thu, 29 Apr 2021 15:59:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=monstr.eu Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ej1-x636.google.com with SMTP id zg3so18431213ejb.8 for ; Thu, 29 Apr 2021 06:59:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=7XJP+VNEDWDcKbcFQg+EzTho+vIHtgTWF51jBCBEH0Q=; b=s5KfzH8J5iUpCdmYkuTq1Z5fDPDjOfOGFb1qXPptq5XeZtY/jxNuzJnB0y5yPmEDmR 9NgmWg7sew849VLbiaCLAw3cJ4p9TfqYbtZhO+85PLfQ7GTs1e8StoD5junmojjGB+Pv jU8EeVpqGfZ027NNBZxqrdPCHT+SxBAfkN540WYLFMBNeq9w5gC42M5dJkjDqgymkY+8 se+vZ3lnvAzlKrr2U4o8slqIdeu1zXLJTU1BeHi4LgJQ6AjQ9gTyrfPfPfd99HNK5FJO jV1vJRqz1j+rUtVSM6Ws0Y7PXXW2OJCeeHqE/3W05PKVM5qoaGyf3yu5bTaS7JjQE9zu LOZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=7XJP+VNEDWDcKbcFQg+EzTho+vIHtgTWF51jBCBEH0Q=; b=rr5jtRMXZKqT8JomsQPR2qd9xIeqv475Oqix+8k6YNaTWrDvpmA0eqZYVO7xpvcU5J XXAnURUlvu6IDzoSlamDVUqemm6/MXDzJkAGiUf8hg9z1g4d9+BNfjzOgJ1ZnIeqKCt2 2wjQomdlMSNYwrBM4s43XPqaWbNWx0rZlLsBUegU/vwpoMFauqneYoV32O2E/U4ws++G rUtoDTAvNRFPpyTG2lPaw6mZAocGmM/ggwv61aQLkYJ6rbZdw0WpdkUEpOYGBKQMQ5QM sPMWIY9aUV/oomHq+3AiYRqq10tAUJ7GF/VO/YtLyFXBf1satmUA13fi+zpmm3MD/5iO 92Wg== X-Gm-Message-State: AOAM530+DXDMffwmX8RyPHRlRVRmMPWEcyfS4PRXu3Bk0VABqBqxTh3D xEXs1eZ8YGXZ9DLTF/H0vRyRn20NzU11EIjI X-Google-Smtp-Source: ABdhPJzJ8RkyZyomU164crZiuaKkKnAwBYWkso5f49e2JLNY0cie6WVp22+lOQugBpFFNjBD/hobLw== X-Received: by 2002:a17:907:1b1e:: with SMTP id mp30mr34793292ejc.532.1619704748319; Thu, 29 Apr 2021 06:59:08 -0700 (PDT) Received: from ?IPv6:2a02:768:2307:40d6:f666:9af6:3fed:e53b? ([2a02:768:2307:40d6:f666:9af6:3fed:e53b]) by smtp.gmail.com with ESMTPSA id kx3sm35945ejc.44.2021.04.29.06.59.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Apr 2021 06:59:08 -0700 (PDT) To: Tom Rini Cc: U-Boot Mailing List From: Michal Simek Subject: [GIT PULL] xilinx patches for v2021.07-rc2 Message-ID: Date: Thu, 29 Apr 2021 15:59:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 Content-Language: en-US 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 Hi Tom, please pull these changes to your tree. I can't see any issue from gitlab CI and also buildman doesn't show any problem. Key part of this series is to fix issue with gmii2rgmii bridge which ends up in a while loop on every ZynqMP board. And then usb dfu fixes with also enabling dfu functionality with efi capsule update. Also enabling saving variables based on actual bootmode. There needs to be some additional work to better locate where variables should be saved but it will require some time to do it properly. Thanks, Michal The following changes since commit 275a4490fd2f30df76f2aa07efa0f595fef4d46f: Merge branch '2021-04-22-udoo_neo-update' (2021-04-22 11:29:32 -0400) are available in the Git repository at: git@source.denx.de:u-boot/custodians/u-boot-microblaze.git tags/xilinx-for-v2021.07-rc2 for you to fetch changes up to b00bad9dc81ee0337761cc50443dffa22a6cdedf: spi: zynqmp: Remove gd reference (2021-04-29 14:48:31 +0200) ---------------------------------------------------------------- Xilinx changes for v2021.07-rc2 xilinx: - Enable saving variables based on bootmode - Cleanup usb dfu setup and wire it up with usb bootmode - Fix bootscript address logic - Remove GD references (spi, Versal) - Enable capsule update clk: - Small Kconfig fix net: - Fix gmii2rgmii bridge binding usb: - Propagate error (dfu gadget) ---------------------------------------------------------------- Ashok Reddy Soma (2): xilinx: zynq: Add support for saving env based on bootmode xilinx: versal: Add support for saving env based on bootmode Michal Simek (10): env: Setup default value for ENV_OFFSET_REDUND xilinx: Enable redundant variable handling cmd: dfu: Propagate error if dfu gadget fails xilinx: zynqmp: Remove dfu_ram_info setup xilinx: Enable GUID partitions and EFI variable commands clk: Fix typo in Zynq Kconfig symbol description arm64: versal: Remove gd reference arm64: zynqmp: Enable capsule update net: phy: xilinx: Break while loop over ethernet phy spi: zynqmp: Remove gd reference T Karthik Reddy (5): xilinx: zynqmp: Add usb dfu/thor distro boot support xilinx: versal: Add usb dfu/thor distro boot support xilinx: zynq: Add usb dfu/thor distro boot support xilinx: Enable DFU_TIMEOUT config xilinx: common: Fix boot script address arch/arm/mach-versal/mp.c | 3 --- board/xilinx/common/board.c | 6 ++---- board/xilinx/versal/board.c | 32 +++++++++++++++++++++++++++++++- board/xilinx/zynq/board.c | 32 ++++++++++++++++++++++++++++++++ board/xilinx/zynqmp/zynqmp.c | 2 +- cmd/dfu.c | 2 +- configs/microblaze-generic_defconfig | 1 + configs/xilinx_versal_virt_defconfig | 7 +++++++ configs/xilinx_zynq_virt_defconfig | 7 ++++++- configs/xilinx_zynqmp_virt_defconfig | 14 ++++++++++++++ drivers/clk/Kconfig | 2 +- drivers/net/phy/phy.c | 4 ++-- drivers/spi/zynqmp_gqspi.c | 3 --- env/Kconfig | 3 ++- include/configs/syzygy_hub.h | 1 - include/configs/topic_miami.h | 1 - include/configs/xilinx_versal.h | 52 +++++++++++++++++++++++++++------------------------- include/configs/xilinx_zynqmp.h | 51 ++++++++++++++++++++++++++++++++------------------- include/configs/zynq-common.h | 61 ++++++++++++++++++++++++++++++------------------------------- 19 files changed, 189 insertions(+), 95 deletions(-)