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 4D4C0C636CC for ; Wed, 15 Feb 2023 18:25:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CFE6885A57; Wed, 15 Feb 2023 19:25:15 +0100 (CET) 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=1676485516; bh=GnjW0I0jvYBeBLk+n9Tt0sS56UjZLs7IP7RyeDGtn90=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Etlv3z6Rm0MlsHO2ZmL241Nsh5O0uHrlhZECLgu/WbOhlAIkYpv5w3wWkpI4ZTah3 h+oNLLQprrfkTPJIv7cLsoe0wN73Q+GDGYai9Cp0wiaOCx1F4wn/gQnrqZFgLb1j8C uzc1OI9IWhffKYUn8LVp/HXR/ki3FCFu/kSZ19dGHSgV59VgrxJ8xSpc65owPK136G Z2Wf0gKB/9KKNyydZ1NRL9vAB53+5XT70Bb7pslWvUuwXLjkTHwvIFwAK+e3HIz+as Kgt5HRYa+4Arsl3vMJPgoZoJwfy850mEzhm2R3ceRqUTBbMyaMTGUihE3GSEILwdhj KAaPCjQlOQU9A== Received: from localhost.localdomain (unknown [IPv6:2804:14c:485:4b69:c96d:48d:597c:852c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: festevam@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 24B6685A3A; Wed, 15 Feb 2023 19:24:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1676485495; bh=GnjW0I0jvYBeBLk+n9Tt0sS56UjZLs7IP7RyeDGtn90=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JvOJuCnIgyaOE/px8MlOI7+sjl+no07fgMkPmE6C0wPwFpWcVH2swPfbVvsqI81VA nHxgtjdeBffyKHULpudex9wx0exONllJ2z0uj6t9g19vN8l9qnZWcE6awomtddpkw0 fAsIvcPRnKcIUvEFkYqLrtl82uUuEDv3a7+0QCQJA4adsQwvZK3/huPJIw85P8KbBk owOagv1blSBDG+vkXZZAfiUfGHz7pDp2/6CYFkoo0iFM7m0UlLT2/eKQ5fAR8Cl0+J KRJkzjBblb6seEd0azVpw4pPCepBOp0j4CqUKgCXyv2LqjQtFcO0ZMkdCXZOwRhnIO yFP3fuPZ+o7YA== From: Fabio Estevam To: sbabic@denx.de Cc: u-boot@lists.denx.de, Fabio Estevam Subject: [PATCH 2/2] pico-imx6: Pass the mmc alias to fix boot regression Date: Wed, 15 Feb 2023 15:24:44 -0300 Message-Id: <20230215182444.2878162-2-festevam@denx.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230215182444.2878162-1-festevam@denx.de> References: <20230215182444.2878162-1-festevam@denx.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.6 at phobos.denx.de X-Virus-Status: Clean Originally, the mmc aliases node was present in imx6qdl-pico.dtsi. After the sync with Linux in commit d0399a46e7cd ("imx6dl/imx6qdl: synchronise device trees with linux"), the aliases node is gone as the upstream version does not have it. This causes a boot regression in which the eMMC card cannot be found anymore. Fix it by passing the alias node in the u-boot.dtsi file to restore the original behaviour where the eMMC (esdhc3) was mapped to mmc0. Fixes: d0399a46e7cd ("imx6dl/imx6qdl: synchronise device trees with linux") Signed-off-by: Fabio Estevam --- arch/arm/dts/imx6dl-pico-u-boot.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 arch/arm/dts/imx6dl-pico-u-boot.dtsi diff --git a/arch/arm/dts/imx6dl-pico-u-boot.dtsi b/arch/arm/dts/imx6dl-pico-u-boot.dtsi new file mode 100644 index 0000000000..e2ef9bcc14 --- /dev/null +++ b/arch/arm/dts/imx6dl-pico-u-boot.dtsi @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT + +/ { + aliases { + mmc0 = &usdhc3; + }; +}; -- 2.25.1