From patchwork Fri Jan 10 13:11:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 1221067 X-Patchwork-Delegate: lokeshvutla@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=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Y2bKBcCt; 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 47vNfy27Lsz9sRK for ; Sat, 11 Jan 2020 00:11:50 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D62E6817DE; Fri, 10 Jan 2020 14:11:43 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="Y2bKBcCt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 35366817E1; Fri, 10 Jan 2020 14:11:42 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) (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 71877817D8 for ; Fri, 10 Jan 2020 14:11:39 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=semen.protsenko@linaro.org Received: by mail-pl1-x642.google.com with SMTP id p9so847890plk.9 for ; Fri, 10 Jan 2020 05:11:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jS4nlpGDNspxG3L8XPAKUAfoRqAiKJd4RpXrcqUDLik=; b=Y2bKBcCtr7U3QH5o3tmF0CS9GrOOqK+ykjl4lgYgeinGX5yT4pN87asAXSP1KjfgPQ lf9rx53K3vxDWjyzghTuIHND/W575MVVrcMp/RgXflrWhXhFQy67dL9ynnnbeb+jPkwk Ye3NfHAVgCWwAJ1f0MBcC1swZBcVjmhXfPcmlP5epdles4/9Z1HmhG0HfuwDSoMtbsBj ktmqPAYhYsR76XXrW7XJd3aQEUoxb/LdZPVAgPfFgQw+Ytpi46VONAT6cAUxjw8R3St3 Oiw1jqzaWhPJYUsaEcsOB+bn2GH46mv9g3ZAzeMn+roVQa7TR4QwQDRFLy2s/oUPr6+Q cuyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jS4nlpGDNspxG3L8XPAKUAfoRqAiKJd4RpXrcqUDLik=; b=rR7L/S62yyv3vM9by0o8euF+wTclGFVu0V0WJDUYff+G3IzguIpXBztgIkI7ucgymi 3Kb9+xROrkILcXxBL4EAGXXSH8jDib3mwLWcxboa2WkC3foZQZWeqZDXT8FV2cqnRF2c 9suwfleMtcV+B6Emcg7k/srsk2kQAlDmhhYDY9UKVZCZ9xfWnRX55zqwFAmZa+4QMI7F EzFV4Sap/Z7H8kdvIeK7oubLXbig7RsXwDv3Ga2JQM4ErXiHsTJpAl/3c2cvvpeJeEYq yafm2Sd1duIhozg6Xz+nEqGy43tcjoW/MSaY8Cz1n2gXc4PukL2c0PQUMYQiJCjtSlhk ZuzA== X-Gm-Message-State: APjAAAXO2eVwphkFuSsW+hv80sE1F8OXMXGNqQZEJ6+0XPs6+130jdus IbizFjm2f3s7Yd//MldkPnXJ0rL7Dh8= X-Google-Smtp-Source: APXvYqwCJti6RtSQnUNodsItpAsJQHoUGHJtm9D8OHfnJ/0peGYk2dh+J29SWNzrcYpoIa16eE8Rqg== X-Received: by 2002:a17:902:348:: with SMTP id 66mr4197385pld.137.1578661897054; Fri, 10 Jan 2020 05:11:37 -0800 (PST) Received: from localhost ([2001:67c:2e5c:2011:2e0:4cff:fe68:2882]) by smtp.gmail.com with ESMTPSA id q199sm3169027pfq.163.2020.01.10.05.11.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2020 05:11:36 -0800 (PST) From: Sam Protsenko To: u-boot@lists.denx.de Subject: [PATCH] arm: am57xx: env: Fix DFU variables Date: Fri, 10 Jan 2020 15:11:30 +0200 Message-Id: <20200110131130.13812-1-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tom Rini , Praneeth Bajjuri , Bin Liu Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean Commit 8502fe84a4fc ("configs: am57xx_evm: define CONFIG_SPL_LOAD_FIT_ADDRESS for SPL-DFU") implements incorrect ifdef logic, which leads to DFU variables absence in non-SPL environment. Fix that in order to bring back DFU variables, by reflecting the logic in include/configs/dra7xx_evm.h. Fixes: 8502fe84a4fc ("configs: am57xx_evm: define CONFIG_SPL_LOAD_F...") Signed-off-by: Sam Protsenko --- include/configs/am57xx_evm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h index cdab9246f2..2e7d699709 100644 --- a/include/configs/am57xx_evm.h +++ b/include/configs/am57xx_evm.h @@ -33,7 +33,6 @@ #define CONFIG_SYS_OMAP_ABE_SYSCK -#ifdef CONFIG_SPL_DFU #ifndef CONFIG_SPL_BUILD #define DFUARGS \ "dfu_bufsiz=0x10000\0" \ @@ -43,6 +42,7 @@ DFU_ALT_INFO_QSPI #else #undef CONFIG_CMD_BOOTD +#ifdef CONFIG_SPL_DFU #define CONFIG_SPL_LOAD_FIT_ADDRESS 0x80200000 #define DFUARGS \ "dfu_bufsiz=0x10000\0" \