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 4B6F5C433F5 for ; Tue, 30 Nov 2021 15:09:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2F4DD81184; Tue, 30 Nov 2021 16:09:42 +0100 (CET) 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="REKP7gqV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1CA268128B; Tue, 30 Nov 2021 16:09:40 +0100 (CET) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (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 D04C180934 for ; Tue, 30 Nov 2021 16:09:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=matthias.bgg@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 ams.source.kernel.org (Postfix) with ESMTPS id 557CAB81A23; Tue, 30 Nov 2021 15:09:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82422C53FC7; Tue, 30 Nov 2021 15:09:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638284975; bh=yG6hFfOSCtDkk8SZnwoUOokg3sVe4jX4jzaNbwio0lY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=REKP7gqVno8DefzZ75NeM295AXJ9KmaHSWxS+zIA3hskQzt2fj+FMLdbrYqisocdu 8G5J2lCXcVcc92Gn7Xh+uxF5QxQnUXJMxBtBbRzDu+8L55GSqvguZ5hFXF5EsdgEfO jT9STkd9U+3QDOFHjTbMj6W9bBxhqXNUKTNwkJww4tAbiVVZoZilgRzvKTofo70SKl 0wLdAucioaz4ngJ4CkZNNgtea+i5sMh2sbtYMMlzjxv23/hz7OVBqSB0B7YmiDhaze 4n5XORgE4uZXjkboW64VS7UgD4qL2bFjX2stlSdSAw7mW5QRDbroIF1gWgApd5eZ8c GBdsDWWsotS5A== Date: Tue, 30 Nov 2021 16:09:30 +0100 From: Matthias Brugger To: Emmanuel Vadot Cc: karels@freebsd.org, u-boot@lists.denx.de, Rick Chen , Aswath Govindraju , Tero Kristo Subject: Re: [PATCH] Fix MMC numbering issue for Raspberry Pi 3 Message-ID: References: <20211027222615.18988-1-karels@FreeBSD.org> <20211028094409.740810a535b37e918f789ab7@bidouilliste.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20211028094409.740810a535b37e918f789ab7@bidouilliste.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.37 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 On Thu, Oct 28, 2021 at 09:44:09AM +0200, Emmanuel Vadot wrote: > On Wed, 27 Oct 2021 22:26:15 +0000 > karels@FreeBSD.org wrote: > > > From: Mike Karels > > > > Using mmc.dtbo from rpi-firmware to switch the controller for the SD > > card slot from sdhci to sdhost causes the numbering to change; the > > SD card is then not recognized at boot. Add to the range checked. > > --- > > include/configs/rpi.h | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/include/configs/rpi.h b/include/configs/rpi.h > > index 55768a46da..4c5c1ac31f 100644 > > --- a/include/configs/rpi.h > > +++ b/include/configs/rpi.h > > @@ -137,7 +137,8 @@ > > #if CONFIG_IS_ENABLED(CMD_MMC) > > #define BOOT_TARGET_MMC(func) \ > > func(MMC, mmc, 0) \ > > - func(MMC, mmc, 1) > > + func(MMC, mmc, 1) \ > > + func(MMC, mmc, 2) > > #else > > #define BOOT_TARGET_MMC(func) > > #endif > > -- > > 2.32.0 > > > > Reviewed-by: Emmanuel Vadot Applied to rpi-next Thanks! > > -- > Emmanuel Vadot