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 9D395EB64DA for ; Sun, 2 Jul 2023 17:35:14 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A9A55865DB; Sun, 2 Jul 2023 19:34:47 +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="T9a+cT5Z"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1AC8385F50; Sun, 2 Jul 2023 19:34:45 +0200 (CEST) Received: from s.wrqvwxzv.outbound-mail.sendgrid.net (s.wrqvwxzv.outbound-mail.sendgrid.net [149.72.154.232]) (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 B1DAF863A5 for ; Sun, 2 Jul 2023 19:34:42 +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=G13NGwQ2vYnM/mHE2rSoGGmR1ieW24dWk2yn72bxc+s=; b=T9a+cT5ZAM9T54eaAk3/LY4DEfNCcN02/BNEUTc0moLugEco/I/ins1QBeUxnYiAhgl1 td5y0Q7RCPvhxvIKUcjgnx6oz5HBIv5B5Hrvo7hYcNxfwDS7eJUnXdmEvhhVdUHniYMCH9 lVOMipRyEAq+5lQLO8LS9c1qmTNkrc/fV8R4sUrcBh2+PR0fcK/E4OugdveG0m99WDykmh cdyTnM5iQn8N88j+zPOfGXm+p6CZbDYVswYVsniZ3or/sAgNk92xPOPTysqwP0xGd1lfWd diJteOvaqYTTw0jp6Bwl9UpRBl+2z97yQXCwZvON1jB/BTpouU0qYXUiS8z8+fPw== Received: by filterdrecv-d7bbbc8bf-w9ffg with SMTP id filterdrecv-d7bbbc8bf-w9ffg-1-64A1B530-6 2023-07-02 17:34:40.284777251 +0000 UTC m=+4557303.050761374 Received: from bionic.localdomain (unknown) by geopod-ismtpd-10 (SG) with ESMTP id 67ARwfPnS6qqgmAA_5F1xw Sun, 02 Jul 2023 17:34:40.094 +0000 (UTC) From: Jonas Karlman Subject: [PATCH 4/4] rockchip: rk356x-u-boot: Use relaxed u-boot,spl-boot-order Date: Sun, 02 Jul 2023 17:34:40 +0000 (UTC) Message-ID: <20230702173433.3818521-5-jonas@kwiboo.se> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230702173433.3818521-1-jonas@kwiboo.se> References: <20230702173433.3818521-1-jonas@kwiboo.se> MIME-Version: 1.0 X-SG-EID: =?us-ascii?Q?TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxA?= =?us-ascii?Q?fZekEeQsTe+RrMu3cja6a0h4N+52vfqVQDccRrQ?= =?us-ascii?Q?hcX6pr=2Fv+wf=2FAjX7UUp7tYT96wgqlyXVZycf4CK?= =?us-ascii?Q?7Qsnd=2FyMTPuKoGiDtjFUHtbaQfVCg=2FjY2itaM8B?= =?us-ascii?Q?lyROcD=2FH=2FnQngggvKSlToD1tQ+SlXl3lJixg2JF?= =?us-ascii?Q?EcVyvR+ymBHgx4JhxP0NAeqSy2XuP1CWFZDXw4?= 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 --- 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