Message ID | 20211001050228.55183-22-takahiro.akashi@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:606e:0:0:0:0:0 with SMTP id d46csp453001jaf; Thu, 30 Sep 2021 22:07:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/kolPvaCO/A0c5xdNzWWcJW0SoIFi2g/rW7fdq2Vi6uJGjI0WVaBI+ThwmHavA5S1xTTs X-Received: by 2002:a17:906:49d5:: with SMTP id w21mr3970463ejv.30.1633064827634; Thu, 30 Sep 2021 22:07:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633064827; cv=none; d=google.com; s=arc-20160816; b=CE+uy3fCjkAqFLpObCsqJ8Ydj6MMNE6yWrEruP0kTKqoS1uV9jTO5wwgMkLD2bcZgT IPmhUNgtv25NCQbw1OObVwo2LYg3KeLlJirwCsLySZYm1FdFmqBAXfwrmB/LBP7GErOB vnftMDiEAuQUIMpfMy/NyL8PP1kl77sCU4BPmYlMCNUiKTTa1FCAEAha3Zhyq5eNYsh9 EWvEt/slLWpRvRf9kjBxuODHU7z7HziXafjCi2ZFfUxTz2eMElqLTvaW59j97Q7lNx6u fuMwfDyPbVy0YR3CVfMonCLXi4MvQKey87ie+y5I3+S6cG+//2AERj29BokGejT4qwgV Id5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=4mn44Pr4crHZayV4dJN9FRKvZepqTA8aJ3PwtV1W9t8=; b=wdf/kZnjdquHtgt6RED5qsbb6NvNQn7dyfdZZhn0pw0gmzVrmK+kk7QX87k53P7KFf SkSnVX/Q+CseX3ZsP0G9cGbI578vD56rs09vQhDZtfQEAh6cQo67xsH093BDlTYIXjcB oJvvw1sp+cb8uI4D6UdemlAqH51iTf1E2FPk2zUH/AE+cMBidRaKubRy4AbkbxYWL8M7 p01Rqk9crv/Me6LENxy8/U1oN1DHKy4mb5jxzdMT3GnNPs5uwEK3Dhj/rS6oTs9RNtnp bLC/JD9qeI+40n6fy4xKu0/n3s73UidA2l/MPk6LL68+dZ7is6GtaRsFe2SsmIEupxql p4RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bkrTk401; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id y6si7640193edc.477.2021.09.30.22.07.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Sep 2021 22:07:07 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bkrTk401; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E944283404; Fri, 1 Oct 2021 07:04:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="bkrTk401"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DB9A483323; Fri, 1 Oct 2021 07:04:08 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) (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 8667B8323E for <u-boot@lists.denx.de>; Fri, 1 Oct 2021 07:04:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pl1-x62f.google.com with SMTP id bb10so5554479plb.2 for <u-boot@lists.denx.de>; Thu, 30 Sep 2021 22:04:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4mn44Pr4crHZayV4dJN9FRKvZepqTA8aJ3PwtV1W9t8=; b=bkrTk401vE5oKuKWxesl9l24UoBIHX3y+xNcZf3XPssIqlf2GyWKHWRUgYoBF8Ms+K 5NK/Ae/649UVnbKZwoifcjJiBxa5ShpsGrQY85VvKeBfe5wruiMOhpn6hnViga/3l5kf 6fjbeAwYGpe/oaD94VKNi/c53Zp23oX5Q64iKrPgIuM73YDI+yurt9Lwgc6rV3lgIo4W pBkoOEdK9R05LcCStMtNDEgWvxiQOSuHKoo1l/ea1hy5mO/yADHrImjbJ/yMVQd335Tw UF4NYycsjWXAyr8G0DEUx25QYtz/WqPsosNfmQwp77e95LXPoLORQN3pUngKHT6sKJOi /bOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4mn44Pr4crHZayV4dJN9FRKvZepqTA8aJ3PwtV1W9t8=; b=SZc0CHOWXcQ7XbXGAOTMgomuyjxuDzeGTNgIFZDk2ZSbJWnhWlVzUElBwM3hUyhoqd ET5SJLp1mJoh0bTaqrTvrszNkDE8WX8787wt09tbvCsEr/YuSfedwVrGjqUif1PCSiHa mCVCoEw0zMvT/zKaDnTxIudfqKBOXhSMPX8iSQ3OlIRrcnqBqTeh7+cJBZu7SFZyhMeC gQ7UT731iHHJihYUEChuPjtU+aAiJPKByHhvvZXtQeUc6+z+g23CJme/FmW8cowe1tL/ SYBc9ptICC5o2s7HBVRpqmW7d/9cDrCHNdjAJ6Fgnd74+yfgh3YjnnFnwIG71qoYX5uf V5tw== X-Gm-Message-State: AOAM531uuSt4nusDUu9ZG4pJVHuzNu1uxTJWryEUqPMn/HWMiAVJPtNt ldSr3AgegM+iuCnW5M5dQuL+6w== X-Received: by 2002:a17:902:d88d:b0:13e:807b:d52b with SMTP id b13-20020a170902d88d00b0013e807bd52bmr3041746plz.69.1633064638690; Thu, 30 Sep 2021 22:03:58 -0700 (PDT) Received: from localhost.localdomain (122-100-26-52m5.mineo.jp. [122.100.26.52]) by smtp.gmail.com with ESMTPSA id z8sm4615113pgc.53.2021.09.30.22.03.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Sep 2021 22:03:58 -0700 (PDT) From: AKASHI Takahiro <takahiro.akashi@linaro.org> To: xypron.glpk@gmx.de, agraf@csgraf.de, sjg@chromium.org, ilias.apalodimas@linaro.org Cc: u-boot@lists.denx.de, AKASHI Takahiro <takahiro.akashi@linaro.org> Subject: [RFC 11/22] dm: add a hidden link to efi object Date: Fri, 1 Oct 2021 14:02:05 +0900 Message-Id: <20211001050228.55183-22-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211001050228.55183-1-takahiro.akashi@linaro.org> References: <20211001050228.55183-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
efi_loader: more tightly integrate UEFI disks to device model
|
expand
|
diff --git a/include/dm/device.h b/include/dm/device.h index 0a9718a5b81a..33b09a836f06 100644 --- a/include/dm/device.h +++ b/include/dm/device.h @@ -190,6 +190,10 @@ struct udevice { #if CONFIG_IS_ENABLED(DM_DMA) ulong dma_offset; #endif +#if CONFIG_IS_ENABLED(EFI_LOADER) + /* link to efi_object */ + void *efi_obj; +#endif }; /**
This member field in udevice will be used to dereference from udevice to efi_object (or efi_handle). Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> --- include/dm/device.h | 4 ++++ 1 file changed, 4 insertions(+) -- 2.33.0