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 6FF4AC61DA4 for ; Sun, 5 Mar 2023 11:32:31 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 33A2485A7B; Sun, 5 Mar 2023 12:32:27 +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="QwdP3sKQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A6D9985B6E; Sun, 5 Mar 2023 12:32:24 +0100 (CET) Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (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 7286C85A1F for ; Sun, 5 Mar 2023 12:32:21 +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-pj1-x1035.google.com with SMTP id oj5so7028200pjb.5 for ; Sun, 05 Mar 2023 03:32:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678015940; 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=MDdc8Asm1y+BJDl/3QaFCQX2LYcROdIYhM/wa7g0u94=; b=QwdP3sKQRcDPU9UrHB7SSp8QBn1vyVYCvYn58oziJVitMYf92uztK2xgWJ3qlPns6u q/0m8IGBeJLgKmMSDIPLDadBgBDHMul1Hh4lnht4rpPUNEyPNAvklU0rXK3CEX2NGPbl PEsoGru+fmeAfBRKnuweUjGG24w0Rod6fs6Z5qdvPYUOBL+YD5NARrn8yICR0afzTQC+ AFqxyRr63yczRSCjrn9ygjmwBpMJruF2GetzaT8dtsSFNmWHP1DTzZpUiMLK5uaAqMjV rahqsbEqcT7NXyDfPyUOwYibGedwAHXTUmqhREGdnxb/qFeiBI5HE+lqtbWDSS+qzps6 E6SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678015940; 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=MDdc8Asm1y+BJDl/3QaFCQX2LYcROdIYhM/wa7g0u94=; b=3UNa2uBI7qyrFl5jD8Fod9ZO/SNiCgmUnJIJX44IYJxBmbfrERe5Dyrkn30c55wTbl n69luSI0uUd6sLJm1cag8+pNiquB9J5K3/MsMXJhSPu1u7Qkbh5jh4CndCyMnIy2p1TK xFeMKOLp95Aadoq4gvI/I5QgL9nNZaaLwZ85ocj1kWpmi01EltQqHRoIxR9qYKR3TsZE wTwxc5KA7STlBIMolJzr5RsynWHpiCaxMXV7bAoUPM/7jDgS7AdvgGhYwvOOuoQulqwI gOyyxrbeF+gPa84mFOmWSU2KPrPm6P+EK/tk2h2hNHlWaJSSWRMWuV6gGfcTGmePW8Jt Ifbg== X-Gm-Message-State: AO0yUKU7aEQgC6maKnhtMN+M07By5pSQp+jeUacB71Y3wpv06GBAhELs 61fLUlg6aCXIfig4p7ZLvs4RH5Zx5+PCSRjx X-Google-Smtp-Source: AK7set8lYKnOSZOS2v7QHqfLZ1gkwJZKniWER3XqPfxSKttuzyCje2td0MOetH8HYGQpMAzVLTPMDg== X-Received: by 2002:a17:90b:1c87:b0:234:d78:9b4c with SMTP id oo7-20020a17090b1c8700b002340d789b4cmr8022215pjb.18.1678015939856; Sun, 05 Mar 2023 03:32:19 -0800 (PST) Received: from hawking.mbtj.net (124-148-110-31.tpgi.com.au. [124.148.110.31]) by smtp.gmail.com with ESMTPSA id t10-20020a17090a4e4a00b002371e2ac56csm4106891pjl.32.2023.03.05.03.32.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Mar 2023 03:32:19 -0800 (PST) From: Martin Rowe To: pali@kernel.org Cc: josua@solid-run.com, jon@solid-run.com, mibodhi@gmail.com, sr@denx.de, u-boot@lists.denx.de, Martin Rowe Subject: [PATCH 1/4] arm: mvebu: clearfog: Fix MMC detection Date: Sun, 5 Mar 2023 21:30:57 +1000 Message-Id: <20230305113100.317824-2-martin.p.rowe@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230305113100.317824-1-martin.p.rowe@gmail.com> References: <20230305113100.317824-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.6 at phobos.denx.de X-Virus-Status: Clean A388 Clearfog MMC is either SD Card or eMMC with different behaviour for both. Setting MMC_BROKEN_CD allows both to correctly detect MMC. Signed-off-by: Martin Rowe --- configs/clearfog_defconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configs/clearfog_defconfig b/configs/clearfog_defconfig index 8cd35f9f1a..24e7c16ac7 100644 --- a/configs/clearfog_defconfig +++ b/configs/clearfog_defconfig @@ -46,7 +46,6 @@ CONFIG_CMD_USB=y CONFIG_CMD_TFTPPUT=y CONFIG_CMD_CACHE=y CONFIG_CMD_TIME=y -CONFIG_CMD_MVEBU_BUBT=y CONFIG_ENV_OVERWRITE=y CONFIG_ENV_MIN_ENTRIES=128 CONFIG_ARP_TIMEOUT=200 @@ -59,7 +58,7 @@ CONFIG_DM_I2C=y CONFIG_SYS_I2C_MVTWSI=y CONFIG_I2C_EEPROM=y CONFIG_SPL_I2C_EEPROM=y -CONFIG_SUPPORT_EMMC_BOOT=y +CONFIG_MMC_BROKEN_CD=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_SDMA=y CONFIG_MMC_SDHCI_MV=y -- 2.39.2