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 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 9CC35C433EF for ; Sat, 2 Apr 2022 22:17:39 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 904B8839B7; Sun, 3 Apr 2022 00:17:29 +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="UZPDbD8g"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6C6E283970; Sun, 3 Apr 2022 00:17:27 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (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 B0CFC82FA8 for ; Sun, 3 Apr 2022 00:17:17 +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: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6379160F29; Sat, 2 Apr 2022 22:17:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A34EDC340F0; Sat, 2 Apr 2022 22:17:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648937835; bh=c7y0SbYoTao99TTEI3jShku8v0jjb2rsq0gGiAaxePY=; h=From:To:Cc:Subject:Date:From; b=UZPDbD8gDw3+l4wBYg9qPj3c2AHQgFHGiqOtFusb/pp/EGJ7E6HZ7gVoENi5sm45v 7JirrwZLG+bzhraizk29mboJYJwpdbPQr8cWNdiMZsEybb6J7LNx/qetZ5ayXfI2UH 6+4htaJqK07tyIQ3lFU/f65fPAanV/6JyUPbRozc3eXCLDSiubMuqxL3WLK4/TUSWj hf92JBuU0nuIVxNHbolzcl5qXWj+qE5P7rRyLS97VOtsHydlnzyJkXV01EGi77bXGJ muo05TunTtws0JLIhuttYKdF8Zw36OOJdTph59u8zRxi5G8spCkg7Z/E0cKtzbOW5F ydIsGrlHmdbUQ== Received: by pali.im (Postfix) id 2BE5C819; Sun, 3 Apr 2022 00:17:13 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Priyanka Jain , Peng Fan , Jaehoon Chung Cc: u-boot@lists.denx.de Subject: [PATCH 0/3] mmc: fsl_esdhc_spl: Fix booting P2020 from SD card Date: Sun, 3 Apr 2022 00:16:58 +0200 Message-Id: <20220402221701.18498-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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.5 at phobos.denx.de X-Virus-Status: Clean This patch series contains fixes which makes SPL running on P2020 board to load proper U-Boot from SD card with non-default or non-common configuration. Tested on P2020 based board. Pali Rohár (3): mmc: fsl_esdhc_spl: pre-PBL: check for BOOT signature instead of MBR/DBR mmc: fsl_esdhc_spl: pre-PBL: fix determining U-Boot size mmc: fsl_esdhc_spl: Call mmc_init() before booting from SD card drivers/mmc/fsl_esdhc_spl.c | 44 +++++++++++++++++++++++++++---------- 1 file changed, 32 insertions(+), 12 deletions(-) -- 2.20.1