From patchwork Tue Mar 30 10:09:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1459979 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=0Sd5wClK; 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) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4F8lZK0bTGz9sVt for ; Tue, 30 Mar 2021 21:10:33 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BA702828E1; Tue, 30 Mar 2021 12:10:19 +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="0Sd5wClK"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B7C1E828FE; Tue, 30 Mar 2021 12:10:10 +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-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (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 32006828A4 for ; Tue, 30 Mar 2021 12:10:07 +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-x634.google.com with SMTP id jy13so23995012ejc.2 for ; Tue, 30 Mar 2021 03:10:07 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=xb9k9AQSVaS4990nIsI6BRiNCJzB6bFwCB1kt2YMRPQ=; b=0Sd5wClKmbyhF8cbQsaZMQTN5xY6jorB42umB8m5O/YkUz01GxyTYiB2VceFgAMh8F TfiUlbhIR7znEfYFLAAKY69ZHiskdpgB8VV5vdurVn6PPogqJX84f5Pkd0fjU5412bh2 rKMy1KNw4mJc4kvwwi1ptP/hcpVbr/SgEe5lDQiLE27yjakuKoZqlc6jexrb6kpMixxo luydeKZ3E1slzcmB/uixIIZdqwS8uO757q7/Syu5uTbCjCX3Fwv2T8mS2YcBE/a4Xrsz 4qIqHTSsni+piCjUewMpJ4MSzkYOhmv9uAwGf5dw4BFTDbFDGuCcbtN/sHwdDaFJ9Ik9 oWSQ== 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 :in-reply-to:references:mime-version:content-transfer-encoding; bh=xb9k9AQSVaS4990nIsI6BRiNCJzB6bFwCB1kt2YMRPQ=; b=PQgzxpTTENeU17jC6Behnl0SrjJNQ9Uk+bvkSKPEh4Z4FedDj7vz73BYKN3pZEAHJc O/lpy7gbLWqslCTRilctu86wNCrXPNB/QXBlCDCnC/Mg7JIxM/9DzT6mkJkvfXnku8z2 NL7Bu5kKZTPgUJiEiRSbK96hQjzohtVnRgwlLOVno3mjR3z0OsqHg+iB6eCpPi64t49O sKpOEXILffwM+ZkwrguhiV5yumVekrQQeLGCGSslTwwpQUKS0P3hKmYGg2rwngzyTu2L kjpTR5k7IE/AfBjTuvuOKpJruE+uBvrgaHDtz7qmEKHKF+vODqRS+PAcGarNrxQl9W3y mE7w== X-Gm-Message-State: AOAM533PznTGx+sGkCdhrQbqkTUe5J0w1MdN3q5BsvBh0MiL6w6p+g4Z SYVqtEQd+0hUvNPUUCCuIFMcM8+Ij/rTHLrF X-Google-Smtp-Source: ABdhPJy6vZerptU/eiiznW5R6ZrcCylPf/YZrFpAx+4g96oKWw6Li0CrCk59C7kfAUgV6LdZzEW1Ag== X-Received: by 2002:a17:906:14d0:: with SMTP id y16mr32887046ejc.242.1617099006723; Tue, 30 Mar 2021 03:10:06 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id g25sm10586788edp.95.2021.03.30.03.10.06 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 30 Mar 2021 03:10:06 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Joe Hershberger , Wolfgang Denk Subject: [PATCH 1/4] env: Setup default value for ENV_OFFSET_REDUND Date: Tue, 30 Mar 2021 12:09:57 +0200 Message-Id: X-Mailer: git-send-email 2.31.0 In-Reply-To: References: 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 This variable is used for pointing to location where redundant variables are located. There is no default value. And it doesn't need to be specified which is showing as warning when savedefconfig is called. make xilinx_zynqmp_virt_defconfig # # configuration written to .config # make savedefconfig scripts/kconfig/conf --savedefconfig=defconfig Kconfig .config:199:warning: symbol value '' invalid for ENV_OFFSET_REDUND Signed-off-by: Michal Simek --- env/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/env/Kconfig b/env/Kconfig index b473d7cfe1e9..bc4f7d8f4ee4 100644 --- a/env/Kconfig +++ b/env/Kconfig @@ -534,6 +534,7 @@ config ENV_OFFSET_REDUND hex "Redundant environment offset" depends on (ENV_IS_IN_EEPROM || ENV_IS_IN_MMC || ENV_IS_IN_NAND || \ ENV_IS_IN_SPI_FLASH) && SYS_REDUNDAND_ENVIRONMENT + default 0 help Offset from the start of the device (or partition) of the redundant environment location.