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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 540B3C433EF for ; Mon, 4 Oct 2021 11:48:30 +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 30E4C61360 for ; Mon, 4 Oct 2021 11:48:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 30E4C61360 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BF0E58169E; Mon, 4 Oct 2021 13:48:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1633348107; bh=9oBiySaclxlAkzS2v79v5RQ6Banwggx9d3ujaw04bY4=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=o5uuS/uDSpCRialqVQpgBh4NnTnWe1JOW5QAKYSZYgEMcpMZzvyHf/hOPy01OLrRY QELrAhKwYwzgjCYxUPVffprCFMfw7Tup+4Q5Zov4brAoMMn+7Pg1t7M61753GCmlyf vHQNSW7tJDYp9l/AoDzYbInlc74o9DRcd15YncFGkbyPrCOXqoPEmPG/jUcGrrf5c/ mZLC92fGekZjQPCVmIcBv1PfGF6zEGlCuf9TNxDXh3ROz1vjw68+1FKE4zbhbi/2lf w4pZWTmW3rn3NyUc6GadTO95X8v/jTBzF4hIKoDlRcc0/XmLzh2r49zOAqblppxEyM ySge2b9X/4NLg== Received: from tr.lan (ip-89-176-112-137.net.upcbroadband.cz [89.176.112.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id DF10781197; Mon, 4 Oct 2021 13:48:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1633348104; bh=9oBiySaclxlAkzS2v79v5RQ6Banwggx9d3ujaw04bY4=; h=From:To:Cc:Subject:Date:From; b=SYOEBdxVDZiiQ+Pdfazw7F8nH5l5x6qPaQA0S+lOurlcJVAfJzNHdudepsMko83WI 1HniM+4eAqMD9c4oW36W3C24r8SzF89TeprPQc3GDN8Fjys+BXCAJ0Wl/ZcRcM8fEF K4cKVt6RD6U1SK6kpjXpViLhS2d3g5OdD88IakvSc4oJJ+bIHOPpXa54tCNhvy3gIN YiyWlsXh1Eqwx/HommvTO7zx6Ps2P4/wxs1sfyRmiYPKFQcJV+I6LIs+rcCaTJl40t CIhM0ldYhUyIjioGu1NjmvV0DTcUBtepz+Yo2Un2uznws7HymSuAmXvvzu1R6YjKAf 4lWPivyPoAkag== From: Marek Vasut To: u-boot@lists.denx.de Cc: Marek Vasut , Patrice Chotard , Patrick Delaunay Subject: [PATCH] Revert "configs: stm32mp1: only support SD card after NOR in bootcmd_stm32mp" Date: Mon, 4 Oct 2021 13:48:08 +0200 Message-Id: <20211004114808.11553-1-marex@denx.de> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 This reverts commit d5d726d3cc47691ace3c68fa31147ad104aaf579, which breaks boards which ship with multiple SD/eMMC sockets. This stm32mp1.h config is not used only by the ST reference boards, but all the other STM32MP1 based boards in U-Boot, so changes to this stm32mp1.h cannot break the other boards. Signed-off-by: Marek Vasut Cc: Patrice Chotard Cc: Patrick Delaunay --- NOTE: I think we might need to split out the env for different boards into different headers instead. Thoughts ? --- include/configs/stm32mp1.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h index 973a4f1d4b8..a75ed693f57 100644 --- a/include/configs/stm32mp1.h +++ b/include/configs/stm32mp1.h @@ -120,7 +120,7 @@ * for serial/usb: execute the stm32prog command * for mmc boot (eMMC, SD card), boot only on the same device * for nand or spi-nand boot, boot with on ubifs partition on UBI partition - * for nor boot, use SD card = mmc0 + * for nor boot, use the default order */ #define STM32MP_BOOTCMD "bootcmd_stm32mp=" \ "echo \"Boot over ${boot_device}${boot_instance}!\";" \ @@ -133,8 +133,6 @@ "if test ${boot_device} = nand ||" \ " test ${boot_device} = spi-nand ;" \ "then env set boot_targets ubifs0; fi;" \ - "if test ${boot_device} = nor;" \ - "then env set boot_targets mmc0; fi;" \ "run distro_bootcmd;" \ "fi;\0" -- 2.33.0