Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C2377C0015E for ; Fri, 28 Jul 2023 11:53:57 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3D3A8868F3; Fri, 28 Jul 2023 13:53:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kwiboo.se 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=kwiboo.se header.i=@kwiboo.se header.b="kB1ZS82h"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4F830868AE; Fri, 28 Jul 2023 13:53:15 +0200 (CEST) Received: from wfbtzhsv.outbound-mail.sendgrid.net (wfbtzhsv.outbound-mail.sendgrid.net [159.183.224.104]) (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 0CE5F868B1 for ; Fri, 28 Jul 2023 13:53:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kwiboo.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bounces+31435339-7456-u-boot=lists.denx.de@em2124.kwiboo.se DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=from:subject:in-reply-to:references:mime-version:to:cc: content-transfer-encoding:content-type:cc:content-type:from:subject:to; s=s1; bh=+6tnnWwTfzS/2N5OzlNwvCCFVrPa6axnPfeUJp5EtLo=; b=kB1ZS82h5YUh2D32Edarwly3R/rTWcTdwcQRFaPLtSVhBZclveGW+7lAk+hLmejYlGxw 4JapsbCy0/uWJskgCe4HXbS9iNx4mhRyJ+ZKwyzVpSHhP937l/kOXJK8CMmApI5A9J1Mni hcILrAW1TRFowCx9o6fdb84vl5W0bfM8RvsVlYWwytG52gN8hGZq76YqcCq1fCz0KUph9A L0OQSmaQbzIPvRDKBh8DkQX08T87sa9Lu6NQ3iFX/lb+uQicGwvPLXBaWecBSh9qyO/+v6 F+1XFdUU8lVn2zp0tLMDsxmBhMTQRYU3ZgRLPAJiIPY4seqgawKExRsruMw/PeDw== Received: by filterdrecv-77869f68cc-whwh6 with SMTP id filterdrecv-77869f68cc-whwh6-1-64C3AC24-28 2023-07-28 11:53:08.698653118 +0000 UTC m=+6783419.485615403 Received: from bionic.localdomain (unknown) by geopod-ismtpd-7 (SG) with ESMTP id dul6NlW1QJCXPYTakHl1xg Fri, 28 Jul 2023 11:53:08.502 +0000 (UTC) From: Jonas Karlman Subject: [PATCH v2 4/4] rockchip: rk356x-u-boot: Use relaxed u-boot,spl-boot-order Date: Fri, 28 Jul 2023 11:53:08 +0000 (UTC) Message-ID: <20230728115302.1735429-5-jonas@kwiboo.se> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230728115302.1735429-1-jonas@kwiboo.se> References: <20230728115302.1735429-1-jonas@kwiboo.se> MIME-Version: 1.0 X-SG-EID: =?us-ascii?Q?TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxA?= =?us-ascii?Q?fZekEeQsTe+RrMu3cja6a0hyntkuzu4c126gPZU?= =?us-ascii?Q?lTblkBPes02lgHIKszKAUbPdpKp7S4Qfz2qettz?= =?us-ascii?Q?no=2FbV8zQPrVO4bxrfSqBS+BnzYnttri4s80hk4+?= =?us-ascii?Q?gsDFhUV4NDIFdjLrUPzLFrBod1ScloIDmN3Sp7m?= =?us-ascii?Q?RoW+gQI1ph0tV6687crIxpEXZ1UNWjG1sovpxp?= To: Kever Yang , Simon Glass , Philipp Tomsich , Jonas Karlman Cc: u-boot@lists.denx.de X-Entity-ID: P7KYpSJvGCELWjBME/J5tg== Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean BootRom will try to load TPL+SPL from media in the following order: - SPI NOR Flash - SPI NAND Flash - NAND Flash - eMMC - SDMMC SPL will try to load FIT from media in the order defined in the device tree u-boot,spl-boot-order property. Change the default order to load FIT from to: - same media as TPL+SPL - SDMMC - eMMC Boards with strict load order requirements should override the u-boot,spl-boot-order property in the board specific u-boot.dtsi. Fixes: 42f67fb51cb4 ("rockchip: rk3568: Fix boot device detection") Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang --- v2: - No change arch/arm/dts/rk356x-u-boot.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/rk356x-u-boot.dtsi b/arch/arm/dts/rk356x-u-boot.dtsi index 89c0d830b632..5644f78ec774 100644 --- a/arch/arm/dts/rk356x-u-boot.dtsi +++ b/arch/arm/dts/rk356x-u-boot.dtsi @@ -12,7 +12,7 @@ }; chosen { - u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc0; + u-boot,spl-boot-order = "same-as-spl", &sdmmc0, &sdhci; }; dmc: dmc { -- 2.41.0