From patchwork Wed Mar 31 08:17:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1460399 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=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=CPC0axDV; 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 4F9K2K6TQvz9sW0 for ; Wed, 31 Mar 2021 19:18:17 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A17FF828F8; Wed, 31 Mar 2021 10:17:48 +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="CPC0axDV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0633A828B6; Wed, 31 Mar 2021 10:17:39 +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-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (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 BB552801FC for ; Wed, 31 Mar 2021 10:17:35 +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-x531.google.com with SMTP id z1so21262068edb.8 for ; Wed, 31 Mar 2021 01:17:35 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=JZ3wqlQSQOYKWD3yfe9eT0q5a6ZkX55SiiBiV9OhnW8=; b=CPC0axDV8tujAVOHkSbfzA7hVjCQkqTKTXcPRdyevzPysbxMQ/GIhCy0vn0MK7Dg/E JMJGAStjQe3BTFR5/aNUDiGs2PEwzEreaUoT2PSw2g4O8DiaRvS5xNqolJcwjAzxSDp+ +neoczi7vGrbBI/he8QAGnit1EQX7SvuhPyv6z9B5hEFgQtIQhpb+Gyi5KzgBWyxwE2E ywqyc8xgd58q0/KY4vwXSmSaaLcJRbqUVkykHKUM0TnYke7utx/f1Vr1Qmhr8HdunuIN xpPQzzbV6YqtXQY0GHq+QHZKnabkGfLqt/mydAgb5ESPDXE9LHhtQDZU8GrUcFxgVdxL vU5Q== 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 :in-reply-to:references:mime-version:content-transfer-encoding; bh=JZ3wqlQSQOYKWD3yfe9eT0q5a6ZkX55SiiBiV9OhnW8=; b=LltAQxkcCCKySJml/3NgJjxLrLSAZ4dRCjnZgTXW0W/Bx/PSuwKlhvvomwg5xoFOk2 UIfLvg+GLboQosK85BpfnBJdtoV7M/eh5rxOViR3Hlwp0bHKblcJfVgqy6ykfGG1W7XP WEUTO6Su6XGEiUM7Enq7ddq9IrO1HZg2CC50Ec+hrQ5ryCzSsYBIjkrxYKuzOGAZiNgl Ocr98QEqmYcrEy+VTr03zsXXegEFQM4MzOPcPVoC0ZEstxmva7WuzTyhpXe8jmqMAsaU T+Gbo9obqXcVU4bwOTZRnz/LDw9PD6EF+ET9w7cMGCpIfuok2co4Bzm1MXl34suyyU1p bn1g== X-Gm-Message-State: AOAM530KeCn1MF1yt94SJ621MmtK5EZc4tqoTt62NJrpPS45j96hM2th RqjvrqQwof7R4iydIMOaTbvLDWY+VGzdHv5a X-Google-Smtp-Source: ABdhPJwafNSCva4lufDpt+d1Ro9wIKIebgUfPqIUWV55ShFEAMyS0fnTiJzvw4MdaUXKsJvkXO9+pA== X-Received: by 2002:a05:6402:b31:: with SMTP id bo17mr2193501edb.113.1617178655240; Wed, 31 Mar 2021 01:17:35 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::e05]) by smtp.gmail.com with ESMTPSA id f21sm680966ejw.124.2021.03.31.01.17.34 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Mar 2021 01:17:34 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Subject: [PATCH 3/6] xilinx: zynqmp: Remove dfu_ram_info setup Date: Wed, 31 Mar 2021 10:17:22 +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 The dfu ram info is wired in connection to Linux kernel and certain setup. We should change this to be more generic as others command. That's why using boot via script is the way to go. Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index 87704ff63077..36f3d962e417 100644 --- a/include/configs/xilinx_zynqmp.h +++ b/include/configs/xilinx_zynqmp.h @@ -55,18 +55,6 @@ #define CONFIG_SYS_DFU_DATA_BUF_SIZE 0x1800000 #define DFU_DEFAULT_POLL_TIMEOUT 300 #define CONFIG_THOR_RESET_OFF -#define DFU_ALT_INFO_RAM \ - "dfu_ram_info=" \ - "setenv dfu_alt_info " \ - "Image ram 80000 $kernel_size_r\\\\;" \ - "system.dtb ram $fdt_addr_r $fdt_size_r\0" \ - "dfu_ram=run dfu_ram_info && dfu 0 ram 0\0" \ - "thor_ram=run dfu_ram_info && thordown 0 ram 0\0" \ - "dfu_ram_tftp=run dfu_ram_info && setenv updatefile boot && " \ - "setenv loadaddr 10000000 && dfu tftp ram 0\0" - -#define DFU_ALT_INFO \ - DFU_ALT_INFO_RAM #ifndef CONFIG_SPL_BUILD # define PARTS_DEFAULT \ @@ -76,10 +64,6 @@ #endif #endif -#if !defined(DFU_ALT_INFO) -# define DFU_ALT_INFO -#endif - #if !defined(PARTS_DEFAULT) # define PARTS_DEFAULT #endif @@ -225,8 +209,7 @@ #ifndef CONFIG_EXTRA_ENV_SETTINGS #define CONFIG_EXTRA_ENV_SETTINGS \ ENV_MEM_LAYOUT_SETTINGS \ - BOOTENV \ - DFU_ALT_INFO + BOOTENV #endif /* SPL can't handle all huge variables - define just DFU */