From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F597C07E99 for ; Sat, 10 Jul 2021 00:43:26 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1264B613C5 for ; Sat, 10 Jul 2021 00:43:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1264B613C5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F1CAF83174; Sat, 10 Jul 2021 02:43:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org 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=kernel.org header.i=@kernel.org header.b="XGXRcMJr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A90ED83272; Sat, 10 Jul 2021 02:43:21 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id DA5A183174 for ; Sat, 10 Jul 2021 02:43:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: by mail.kernel.org (Postfix) with ESMTPSA id 777F8613BF; Sat, 10 Jul 2021 00:43:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625877795; bh=uJqb31Pd4eGLTh8WIdUU4KCrjBQHYszOLunFsF484Vo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XGXRcMJrHghvVkUWJzn46+D4nw3A4pfFnIzhluGwIfNLIlAWNAwupYS/nMx6wzkfB q4DmPQNVOjssy/VlxzTbPg7uN9dt0+DGkHXI7T30BoxV/ExfdK2PVXu3/RzkRgDizv r3m8HcNRRvBCItBERRmXCqngMfDbc8WsxTQY0s84tkRfC2T0gJoB3aJq9uWSUpYgmC UGTWoQGuGSBe0dFGJ1f539rBXUfPkGu3iWRpQpuHmx0etkZXfSDMmvMURrarF1oZHC VemcewEpkyXle1vLstBS+X/MZphaZoTXvvSAMzD7UwZlqnfR3ptvaP8+9pZoiiFEQ0 wQ8KxI+uBGUmA== Received: by pali.im (Postfix) id E915D77D; Sat, 10 Jul 2021 02:43:12 +0200 (CEST) Date: Sat, 10 Jul 2021 02:43:12 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Stefan Roese Cc: Marek =?utf-8?B?QmVow7pu?= , u-boot@lists.denx.de, Chris Packham , Baruch Siach , Chris Packham , Dennis Gilmore , Mario Six , Jon Nettleton Subject: Re: [PATCH u-boot-mvebu 00/31] kwboot / kwbimage improvements Message-ID: <20210710004312.6tmcd2ghnpkd3t7s@pali> References: <20210708173032.27999-1-marek.behun@nic.cz> <0325eee7-7c6a-5e61-6e3d-229567b07000@denx.de> <20210709132221.16dd91e3@dellmb> <9b9a714a-6003-fb0e-7dab-d9fce725f116@denx.de> <20210709160816.3feb8869@dellmb> <50221b25-f27a-3435-815b-cefc3b9c34d3@denx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50221b25-f27a-3435-815b-cefc3b9c34d3@denx.de> User-Agent: NeoMutt/20180716 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.103.2 at phobos.denx.de X-Virus-Status: Clean On Saturday 10 July 2021 02:31:32 Stefan Roese wrote: > Could you perhaps add this "SPL returns to BootROM" support as an > optional feature that can be selected on a per-board basis? Hi Stefan! I was thinking about it and it should not be hard. Based on defconfig options you decide if you want to use SPL NOR code or stick with return to BootROM. It is acceptable? What is needed is just to extend SPL SPI NOR code to parse also kwbimage header (at offset zero) instead of legacy U-Boot header which is removing by this patch series and which was on variable offset.