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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36C5FC433F5 for ; Sun, 10 Oct 2021 14:17:44 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id AE28761076 for ; Sun, 10 Oct 2021 14:17:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org AE28761076 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 935FC836EB; Sun, 10 Oct 2021 16:16:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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; unprotected) header.d=chromium.org header.i=@chromium.org header.b="HFxmNkoE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A0C82836A7; Sun, 10 Oct 2021 16:15:00 +0200 (CEST) Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) (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 C510B83699 for ; Sun, 10 Oct 2021 16:14:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-oi1-x234.google.com with SMTP id e63so272756oif.8 for ; Sun, 10 Oct 2021 07:14:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rgICmtdf/Vfsvby2Q8GhGP5Guc42Vm2oaakrtTbZAzk=; b=HFxmNkoEW2w0B/n2u+zOHPTeCU1LjRki4HnyeNg6zyerdsldNhdF7ecSd3QdIedWJJ BpHo+8IUW/2F2HtWsA3O+FbyH8A+5vV09ebZZNIGqr35zAkPuOGMM6+HlCzR89Vc3FNU A/4WVwo+jZcdMOspQGoBqdq65jeBZsZvXygZc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rgICmtdf/Vfsvby2Q8GhGP5Guc42Vm2oaakrtTbZAzk=; b=PUlrmTmUnHlUUW9ovx+Q/UUcTtj5I6NcgZMJAQPI2I4g5NstHQMgV8VvADZsx/On1H 2sT+7BplBs+4mb+Hi7ep9t1vJx2b/xsKr0y7bFmM2XJenQi1eKNja7Pon7sbDOzSgonb 3i62Vl09OU15n8K2sudGxt//ZRah+ArvEAYYtCH3Dfsctt3vROmNG896ZpXTlGopmljg vkA/6DUBY4GknwY1w0DvqCRlBe7qcFWZzonB06K2oKy+SC82OPzSPuc3KYEj5WoDhYoi YlLMl1zpZDKA4jWLcJZ4m1gN2nXkPZ1ux9VbfrZOVcLxLbaO6uI7NAZPGcfzlDyNdSLW H0cg== X-Gm-Message-State: AOAM533Lec6N+el5/DpmlPEUXAGeWdU4+UWmB79uO5wkSFqSyEfOqBwm VAW92n7LP/8mtZ8SknNRUPR+SyzjungYxZ32gxTVYw== X-Google-Smtp-Source: ABdhPJy3wXaVKo7zpkz2TEQKgLvNHPp1zcDhtHUuQB7sDgayRZS4gb4nEf+yRQTkHttdg896+Z52X8Sp3XD40bXOnWM= X-Received: by 2002:aca:5f04:: with SMTP id t4mr15007486oib.53.1633875285223; Sun, 10 Oct 2021 07:14:45 -0700 (PDT) MIME-Version: 1.0 References: <20211001050228.55183-1-takahiro.akashi@linaro.org> <20211001050228.55183-2-takahiro.akashi@linaro.org> In-Reply-To: <20211001050228.55183-2-takahiro.akashi@linaro.org> From: Simon Glass Date: Sun, 10 Oct 2021 08:14:33 -0600 Message-ID: Subject: Re: [RFC 01/22] part: call part_init() in blk_get_device_by_str() only for MMC To: AKASHI Takahiro Cc: Heinrich Schuchardt , Alex Graf , Ilias Apalodimas , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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, 30 Sept 2021 at 23:02, AKASHI Takahiro wrote: > > In blk_get_device_by_str(), the comment says: "Updates the partition table > for the specified hw partition." > Since hw partition is supported only on MMC, it makes no sense to do so > for other devices. > > Signed-off-by: AKASHI Takahiro > --- > disk/part.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Reviewed-by: Simon Glass