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 D835BC76195 for ; Sat, 25 Mar 2023 00:03:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CD28185D99; Sat, 25 Mar 2023 01:03:32 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="J2zFuReJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F31E285D9B; Sat, 25 Mar 2023 01:03:28 +0100 (CET) Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) (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 B5B3785D92 for ; Sat, 25 Mar 2023 01:03:24 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=martin.p.rowe@gmail.com Received: by mail-pl1-x632.google.com with SMTP id w4so3293232plg.9 for ; Fri, 24 Mar 2023 17:03:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679702603; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6evMovrDYKgw67HUpVJljgevyBuI/jHa/+5MJ35nDqU=; b=J2zFuReJS77t/dACjYv8yIFK2kH0m4Mr+AsHJ5iSSJuMKD8SOf4BJfeLZ2N5Z04qha N/B5Zs35JU5IxixlWkKuv1TDfM2Ff7UerIFing6tVnl12rlwNh7zcuL39mMEI9BBFLmS L/brWiAbuyEIC3IGLcCvVvd0XDhLF6FO1p7Ic2mwi6QtYn5eUBRWQZIfsBEkumJtxt7I JB4tL6JeS1Smd+4SvQGrk448ClhuCyZewe2quUxzcky9/RsomL976ozB6CWEp539gw3e 1aJ1FXhSQS6EfTHh1XpG/ikj5aHU3BeC/U6wtF1lloo2TarkBhGalPgtwPwVoaBzjFF3 piNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679702603; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6evMovrDYKgw67HUpVJljgevyBuI/jHa/+5MJ35nDqU=; b=ri7B/3NWim6kmiq3IGfvkb41NZ2aJ160hWu8hWll4l/D2wUaeahslPn8ESS4BYFjsl gxgbvUTgW/72mwmznIv9PGA6Z5VWVgCFrmJyupVJQ1Rpe/ic/X3LwsK2mrpzTbaxd9Jp nf63OTtyoZXA+XNpvkXEGEJTTXtD8j6XB7bF59GdQp3586waQtf3K7M+f54OfK3jU+IY Nzr7yMne9C2e0BjcuVeas4sQMcW0MfEc6tDz8UtVloWqg8agdKEbYPGwsqNI1DolLB/q nlZIHjQjFujPUrPlw4Rh/SfYBU1pmdEz1WIFDuMPu0agYr/0W44+EE2Sn2IgEgcWShM7 2xqA== X-Gm-Message-State: AAQBX9efAFXsh6DbIZZkABpK48XanZlpC5VY4gGFciJbsvgaCYejFJx0 1Iq8he+tEUvBT5+tgqDKMlg= X-Google-Smtp-Source: AKy350ZYcWDgFqB+XnHCJj6jzJpXaJNOdk1Y6Mn9m9tSLGOp/JVCxXRwidY7WavCtxhCU15L97xnUw== X-Received: by 2002:a17:90b:3851:b0:23d:4e9d:2eb0 with SMTP id nl17-20020a17090b385100b0023d4e9d2eb0mr4439621pjb.36.1679702602752; Fri, 24 Mar 2023 17:03:22 -0700 (PDT) Received: from hawking.mbtj.net (60-240-212-34.tpgi.com.au. [60.240.212.34]) by smtp.gmail.com with ESMTPSA id u12-20020a17090ae00c00b002311c4596f6sm399020pjy.54.2023.03.24.17.03.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Mar 2023 17:03:22 -0700 (PDT) From: Martin Rowe To: pali@kernel.org, sr@denx.de Cc: josua@solid-run.com, jon@solid-run.com, mibodhi@gmail.com, u-boot@lists.denx.de, Martin Rowe Subject: [PATCH v2 1/3] arm: mvebu: clearfog: Fix MMC detection Date: Sat, 25 Mar 2023 10:02:43 +1000 Message-Id: <20230325000245.8467-2-martin.p.rowe@gmail.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230325000245.8467-1-martin.p.rowe@gmail.com> References: <20230325000245.8467-1-martin.p.rowe@gmail.com> 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.8 at phobos.denx.de X-Virus-Status: Clean A388 Clearfog MMC is either SD Card or eMMC with different behaviour for both. Setting the device to non-removable in the u-boot.dtsi allows both to correctly detect the device. Signed-off-by: Martin Rowe --- arch/arm/dts/armada-388-clearfog-u-boot.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/armada-388-clearfog-u-boot.dtsi b/arch/arm/dts/armada-388-clearfog-u-boot.dtsi index fb27a3b96f..906d8f2e67 100644 --- a/arch/arm/dts/armada-388-clearfog-u-boot.dtsi +++ b/arch/arm/dts/armada-388-clearfog-u-boot.dtsi @@ -10,6 +10,7 @@ &sdhci { bootph-pre-ram; + non-removable; /* assume that the card is always present, required for eMMC variant */ }; &gpio0 { -- 2.40.0