From patchwork Tue Mar 30 10:09:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1459978 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=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=wREDvBe0; 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)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4F8lZ85Jvhz9sVt for ; Tue, 30 Mar 2021 21:10:22 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8CF9F828A4; Tue, 30 Mar 2021 12:10:11 +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="wREDvBe0"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BC67B82759; Tue, 30 Mar 2021 12:10:09 +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-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (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 B68BB82759 for ; Tue, 30 Mar 2021 12:10:05 +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-ed1-x535.google.com with SMTP id l18so17521752edc.9 for ; Tue, 30 Mar 2021 03:10:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Q3x4rH4Y9vxqngbvWiiCuoH4EflOPGk1tR8f0dZ3mEw=; b=wREDvBe0zk2roX0U8vac42YQB27mieWz8JGU0dW3tdae1RJp2J7CiE0NkTh9ZESo00 LhT2yI2R8Q/9iNpk3g3cl2kTSPPZ52DbQl8XMVFVEtq3zScRE1e8HcamH21y3L9p3Wcb LCb+L5UWQ8ooJ9SNIUnK+w+6+YmN8MEdahC2C2DXWX1ciMBOSKrpWj82zed3+4Y2i+YP UUVg5gPdwdCWfcbCe1Gaq4Np3YJ9SYJxM3i0HaDsaiiVKIAjPhWH1Nqn6I89bJi4H1Pn 0Ds8cgpKkiqY/fRbIpoHvLXqwO06RtczPbUrH/Wb3c7Y42idinZkccBA7Qr6fDCbv7M2 iZ2A== 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:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=Q3x4rH4Y9vxqngbvWiiCuoH4EflOPGk1tR8f0dZ3mEw=; b=aLRCQYaqPLZ2GZNLC4bKgqifKCAGdbZZ+SiCcChobCiUGk6hV24MkA0tmNfHxk0Ubr jUtoBnbnFEohEHQD2SVQntf5P15w1TkI5xPTZSEXfblYHaGKKaF5+oAI9z6hG2pCwjA1 dlayyw5sTuLNY5KJGfiprdpCUflg9DywnExyp3CuNfLD7g/cPQeUhgxmfpzDs+284vNx 9pBWAV8AtdnxQvsc2utwvuIB5jHjy5Zhn+0nRWNdo8o0vD8Z8oDGcIgZNK06QmP5+aQf sTZ+RaC+EEWx90XOibJA64XsZuaJL6jnI3Y/B4N1sSnoA3bCm1kIpO0Q59E1cug8l76H v54Q== X-Gm-Message-State: AOAM5313H/GrNv+z1BMXIX1oeVlUCkYdLRmH4LBgvk7jhmtzLkt/wQmM vtFkLte8kKdWRkg9r5d8Jm3+d3gdZXFSO4iJ X-Google-Smtp-Source: ABdhPJzWhwQ4VyMfcqwbPK84tmbyQXD5BEuPeriawFFFbXNyPApVnjKKQ4H/ybYZikiySulrbF60uQ== X-Received: by 2002:aa7:d416:: with SMTP id z22mr32451264edq.239.1617099005146; Tue, 30 Mar 2021 03:10:05 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id bx24sm9912395ejc.88.2021.03.30.03.10.04 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 30 Mar 2021 03:10:04 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Joe Hershberger , Michal Simek , Wolfgang Denk Subject: [PATCH 0/4] xilinx: Enable redundant variables for all Xilinx SoCs Date: Tue, 30 Mar 2021 12:09:56 +0200 Message-Id: X-Mailer: git-send-email 2.31.0 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 Hi, based on discussion with Tom here https://lists.denx.de/pipermail/u-boot/2021-January/437234.html I decided to enable redundant variables on all Xilinx SoCs. Users who don't want to use it can disable this option. But having extended structure for variable storing is based on that thread above the right way to go. It means switch to the right approach is better to do earlier rather than later. Thanks, Michal 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 (2): env: Setup default value for ENV_OFFSET_REDUND xilinx: Enable redundant variable handling board/xilinx/versal/board.c | 30 ++++++++++++++++++++++++++ board/xilinx/zynq/board.c | 32 ++++++++++++++++++++++++++++ configs/microblaze-generic_defconfig | 1 + configs/xilinx_versal_virt_defconfig | 4 ++++ configs/xilinx_zynq_virt_defconfig | 6 +++++- configs/xilinx_zynqmp_virt_defconfig | 1 + env/Kconfig | 3 ++- 7 files changed, 75 insertions(+), 2 deletions(-)