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 231B7C433F5 for ; Fri, 1 Oct 2021 05:07:28 +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 980DB61994 for ; Fri, 1 Oct 2021 05:07:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 980DB61994 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.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 5AA03832E9; Fri, 1 Oct 2021 07:04:36 +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="rNGFRybx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1192F83405; Fri, 1 Oct 2021 07:04:21 +0200 (CEST) Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) (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 2406283325 for ; Fri, 1 Oct 2021 07:04:08 +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-pj1-x1031.google.com with SMTP id k23-20020a17090a591700b001976d2db364so6402479pji.2 for ; Thu, 30 Sep 2021 22:04:08 -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=rNGFRybxbJhedVavrpDjECKD4Qlf2Vu8CIHhlDmIpfuJ/txjcshAbRltficzTLTyQA aktwtYSEG5qUq1rfiwF5sRchKi68EcmX0slsZ8x48REYhcSzS+4229T/zaW8zg8jdvBU t6pxGN0UD2BLILQPNVYk9UKNcMwhLWp6bxh3iMmCacCyX3P5NNKH2ZWIS/wGFpJzh8/7 BQeIGBQgtfNbh50phQOfh8BIPaNQD5VTsb0lbd2utTHcpEpH3J6JFKtYsVoqNu9GR0yo AKQ+Ebba7eUjs06EaWxMJ6gn3ZCX5froaeq1XBd8HiIG4kWpPcmDPL0MgSpq5zTUKnT7 AWdQ== 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=Rk8nOXG7bGC4RIPAycU+QdGGxbA9UnD3XIg8wLf52I6JRqqpkSZH2v78CWgdoAX/XV 93T88470MjZe2o7y8yUCrwzfks5lAmxxys4JXOgRav6BA4oqrA8jMov6GwrzXbm2kkjO RMtNEFpMgbq0qvjluOU8+DZddothLk4GHVXU1j10IDeL07p12uDbr3RfANrMXdSb4ups R3st+fbAA9l/Tkf2mloABzKba3ScNqxZdvncC+2kANITbDKUAVhCEedOqVx6bTdzu9iz A+wLn/SuymHMoxyjb2hstuwUAlMkXVqZEZNmXF1aUEXHMlKuoADUYTUQ6yY2eUgW5ung iAag== X-Gm-Message-State: AOAM533Y0+8nk4TbLEoHyuD/8hs7jDtyLDOsQje2xyODcNdFLb/VZeGr AQn9C/pr7HBbtRpRtDU3PH24iQ== X-Google-Smtp-Source: ABdhPJy0bC1jXOCZLuelnLGhLOrbCYHkSdhC5TXORf2BC+FB4bL5HUvCfsAI1HC5ICWd44VMhrVIAg== X-Received: by 2002:a17:90a:7a8b:: with SMTP id q11mr10922841pjf.35.1633064646285; Thu, 30 Sep 2021 22:04:06 -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.04.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Sep 2021 22:04:05 -0700 (PDT) From: AKASHI Takahiro To: xypron.glpk@gmx.de, agraf@csgraf.de, sjg@chromium.org, ilias.apalodimas@linaro.org Cc: u-boot@lists.denx.de, AKASHI Takahiro Subject: [RFC 12/22] dm: add a hidden link to efi object Date: Fri, 1 Oct 2021 14:02:07 +0900 Message-Id: <20211001050228.55183-24-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 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 This member field in udevice will be used to dereference from udevice to efi_object (or efi_handle). Signed-off-by: AKASHI Takahiro --- include/dm/device.h | 4 ++++ 1 file changed, 4 insertions(+) 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 }; /** -- 2.33.0