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 33FD4C77B75 for ; Tue, 9 May 2023 19:06:18 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ADA8F85814; Tue, 9 May 2023 21:06:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=grimler.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; secure) header.d=grimler.se header.i=@grimler.se header.b="K9pi40ga"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 53D0D85DE2; Tue, 9 May 2023 21:06:15 +0200 (CEST) Received: from out-17.mta0.migadu.com (out-17.mta0.migadu.com [91.218.175.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7794380BB0 for ; Tue, 9 May 2023 21:06:12 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=grimler.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=henrik@grimler.se X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=grimler.se; s=key1; t=1683659171; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Yeezc2ykYr/Qdx8nSkiH809tAhOjfS1YBy5sn650HzM=; b=K9pi40gaEDBKpfTHHMmvhXEu0diiYwiudtx3hPRTiWaOB8s3CIi1m3/O3Le+CnejhfXEMI gIN4ch8kbGuiTlBNTl6UnmMVmCwEiD01r/ocKPFgOVaZpUJwGxrvXTu//QN6vrUiUwbrOe McL9/vsGXEWq8YTX/lgZSH1nGfrQCjs= From: Henrik Grimler To: joost@diskos.nl, jh80.chung@gmail.com, peng.fan@nxp.com, mk7.kang@samsung.com, andy.wu@sony.com, sjg@chromium.org, m.szyprowski@samsung.com, u-boot@lists.denx.de, ~postmarketos/upstreaming@lists.sr.ht Cc: Henrik Grimler Subject: [RESEND PATCH v2 0/2] odroid: fix boot issues on u2, xu4 and siblings Date: Tue, 9 May 2023 21:05:45 +0200 Message-Id: <20230509190547.5722-1-henrik@grimler.se> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT 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 Hi, Patch 1 fixes issue reported in [1], which happens on odroid-u2 and probably other devices in that family. Re-adding this quirk was discussed already by Jaehoon and Andy in the patch that (re-)introduced this issue [2], but no patch was sent. Patch 2 fixes issue reported in [3], which happens on odroid-{u2,xu4} and other devices in that family. An alternative fix was sent previously by Joost [4]. Tested on odroid-u2 and odroid-xu4 on top of master branch, I am able to boot from sdcard on both without issues. Changes for v2 resend: * Collect Reviewed-by tags * Rebase against v2023.07-rc2 Changes since v1: Patch 1: none Patch 2: * Check return code of uclass_first_device_err instead of guarding it with IS_ENABLED(CONFIG_CROS_EC), suggested by Simon Glass. [1] https://lists.denx.de/pipermail/u-boot/2023-January/504116.html [2] https://lists.denx.de/pipermail/u-boot/2021-March/445243.html [3] https://lists.denx.de/pipermail/u-boot/2023-January/504115.html [4] https://lists.denx.de/pipermail/u-boot/2023-January/505551.html Henrik Grimler (2): Revert "mmc: s5p_sdhci: unset the SDHCI_QUIRK_BROKEN_R1B" samsung: common: do not reset if cros-ec uclass is missing board/samsung/common/board.c | 2 +- drivers/mmc/s5p_sdhci.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) base-commit: f1d33a44ca04fdca241c1d89fd79e2e56c930c7e -- 2.30.2