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 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 A8C47C433EF for ; Mon, 13 Dec 2021 12:53:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0F47183781; Mon, 13 Dec 2021 13:52:56 +0100 (CET) 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="NuennF9p"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8DEFE83773; Mon, 13 Dec 2021 13:52:14 +0100 (CET) Received: from mail-ua1-x932.google.com (mail-ua1-x932.google.com [IPv6:2607:f8b0:4864:20::932]) (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 215A8836C5 for ; Mon, 13 Dec 2021 13:52:04 +0100 (CET) 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-ua1-x932.google.com with SMTP id p2so28898650uad.11 for ; Mon, 13 Dec 2021 04:52:04 -0800 (PST) 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=M5MDQhA/gpTFMcQkbgB7aFO5A/0et0zqhOzWPi9E9GM=; b=NuennF9pza6tB+H4DiViXFWtHutcs6Ur61l8m8HCzeq/rY1mL4bFA3qpGm5K09TK+G M7vNg/f0kUpBpq9yYvzseVtAJXb/2gHcG+DedPABavYa4I0NDosw5bVY2Lu0YBlt2o7K /StAwj0S1uH9KOlqXbt6jqt8HaHHRSYl05gBk= 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=M5MDQhA/gpTFMcQkbgB7aFO5A/0et0zqhOzWPi9E9GM=; b=ZSyojlPjux73ZW/p1td8IkPU+0aR/vD205kHus8XeMZ+7MYLiDlROgJiTXmfpDfz/E RJ31xKeyhXH+QQAxkxZ+XOU/wHCLAuRfHLPvxXtDpXEV+6BHSBxhBkh48JDRN6QX+oV5 W3xDGmmFZCmPIYkvtBv7lFNQnGGv4dEE4sVcHWNOzxHGYyA/yu6Q/hVWx7yBaBck/yNh gnhxOxg0eEynguusaLp0IV2K2ApfOIgrL6oQSzDpmkbROvzGM7IIFaMhk1M+2Socxznw v4+6rZMBIrrygtqRzNljTfW0wXGKuJNYk0NQTj+6nzHsl+xT2lPscq1DtUFqCwD9Vuoc Zk5w== X-Gm-Message-State: AOAM530yGMMlEctstio9n730okYN4V+6q0C2CWlE5xlWyeB+K9iwzL+y ySMCdYYvyLQCTOKbOwv5vM1VsIUSwiiuLgyAbibr8w== X-Google-Smtp-Source: ABdhPJzWNkyIAabTwjG0GbeLb3CQ8tY3R7I9TFpHO9mzzKzJ/LerDGCrhgDmQu1C8hh+ELqKq6of0ETXFE2wWlwaskw= X-Received: by 2002:ab0:4465:: with SMTP id m92mr41295750uam.47.1639399922738; Mon, 13 Dec 2021 04:52:02 -0800 (PST) MIME-Version: 1.0 References: <20211210064947.73361-1-takahiro.akashi@linaro.org> <20211210064947.73361-21-takahiro.akashi@linaro.org> In-Reply-To: <20211210064947.73361-21-takahiro.akashi@linaro.org> From: Simon Glass Date: Mon, 13 Dec 2021 05:51:51 -0700 Message-ID: Subject: Re: [RFC v2 20/20] efi_driver: align with efi_disk-dm integration To: AKASHI Takahiro Cc: xypron.glpk@gmx.de, agraf@csgraf.de, ilias.apalodimas@linaro.org, masami.hiramatsu@linaro.org, u-boot@lists.denx.de Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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 Fri, 10 Dec 2021 at 00:19, AKASHI Takahiro wrote: > > With DM-efi_disk integration, we don't need to explicitly call > efi_disk_create_partitions(). > > The only thing to do is to associate an efi_disk object to > the corresponding udevice as we skip most of processing in > efi_disk_probe() by the previous commit ("efi_loader: disk: not create > BLK device for BLK(IF_TYPE_EFI) devices"). > > Signed-off-by: AKASHI Takahiro > --- > lib/efi_driver/efi_block_device.c | 34 +++++++++---------------------- > 1 file changed, 10 insertions(+), 24 deletions(-) Reviewed-by: Simon Glass