From patchwork Tue Apr 19 01:01:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 563291 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6886:0:0:0:0 with SMTP id m6csp2858834map; Mon, 18 Apr 2022 18:03:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+rUptoMTlNqbIwxPuRqvqPm/H1sFB7uXszh5B9n2QH+nEtPVEQXujY+wMZQD+tU2o/bVw X-Received: by 2002:a05:6402:d62:b0:41d:79e6:1617 with SMTP id ec34-20020a0564020d6200b0041d79e61617mr14933872edb.378.1650330217987; Mon, 18 Apr 2022 18:03:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650330217; cv=none; d=google.com; s=arc-20160816; b=G/GlPdToFI3nrTBAyqDU7MP5fve6TAVx4WhkvsrJFgn84cN/cqrfSOQwPGxPrVdaYb d1IS30uDynK6/fWnzu8yWSos3ClfiedwbCa51yxP+2b/1d+YyLbJgjDEzJPKtIDKkr13 NzexzxkLzyFzKr2iWTxhvkXr5M4WNMOjZWCRGrM1kNkAAlkdszwwC9Kl3QV+2MSLOrse 83f4dgx5fPnEfrgQIScPh23cY8FkdtL1w4rSIv5bV5TnU7iG0CZMqSCk8IpqT2oBJGtS ZvGyEmimIniQu/fDb6cNRQ5YOnS3Q2trfwvWyZKrQFAQptxZKvwxVvZu24Hd8dIv6ZqB gkjg== 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=RcGKvvE8D7t7w/XKJCF/3BX+XrlXFhRlr+zPixNIJs8=; b=ScgkXg+5WmsC057qsvjXpN3oCo0jXM/Py6h6jg0/57AnOJps0HIx3TqYcUeVXeXL3a qbO0cS/lz4e7Kw6BfowLPtol1t6X/XCE/iqK5bJqHpCPqcLIQHCIXYV28EgDW2vs4qdd nJEkhyYzPu53RXGGBkmcmWHMyVMSa7noG6p/tRaCqaAw7DxA55C7yxFsgnFyYH5pSuuU WzZuJURquv12J4cTpg9rZ0WFofqfYwp3TKu5OnNB7VernhnOy0YbmURHCzi3/BulkbR3 ih0TsMQpV3LWNhD1orJQNR5+ivYFTiuS9xhahWt4AJwHNyna4ksUAe2ok9CfxXZCgZSz TSdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=joggrveO; 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: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id f5-20020a056402328500b00418f91de35csi7420583eda.5.2022.04.18.18.03.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Apr 2022 18:03:37 -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=joggrveO; 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 A621883B34; Tue, 19 Apr 2022 03:03:15 +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="joggrveO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3C6DF83B19; Tue, 19 Apr 2022 03:02:45 +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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) (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 BB29883B11 for ; Tue, 19 Apr 2022 03:02:38 +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-x62b.google.com with SMTP id b7so4074531plh.2 for ; Mon, 18 Apr 2022 18:02:38 -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=RcGKvvE8D7t7w/XKJCF/3BX+XrlXFhRlr+zPixNIJs8=; b=joggrveO2AMI31fhMkhHl3O4AREd6sSAM3orB9N00J0dFPasSHZh0sN36BWZPzQKmt EHz+uNbobknN5viy5KVOfuf/7JxARz1KbzpXJT/89b5KSV0dvgRPto95P+odO/z4YkfR zHBwgmVr6K9FxA0FJrwUe/SxNm1fw/E4rW/WWv8O+PR4MI5oENThRxPw+JJicQHg3mNr hVpxI/NQyn7w7+gutDcoDx/ZjGekoIbACmVs0ZLuEmNtl6Vv+HlUgdGJEtzv82GQo360 GiIYVYWxzLNs1FO7gEpn3mYh50YdgusVMM9PqoAqRpVO+Gt67HVJNs44eiu2VSChH/Rb ORJg== 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=RcGKvvE8D7t7w/XKJCF/3BX+XrlXFhRlr+zPixNIJs8=; b=cTkEB+j2U+q8abX5A7souPbu5Pcnml+UC8MDY+qiY+Q7V/MtZe2TlxO86zwonlHLPb ORqNWbTl0J1BvrK1NNQHGiRt4x0KVYuahOHx9J7Wjq0eg3ONmcOuFATcimNoWR/pKW4X 18/x0R2VTXY+STwtsuiuv+pjxn//r6BckmtTB6Qt/tlNECwM98Nbm3yLgkpoe9fHRKCl Qv0oTFngTEjo0NKQVsUJaq+P6uXUOoaf7G4KtYN/ZCW6vK3w6Vp1KNV2qER4+owyC0kg MJXMBYQd+6nwrBaZCuZbf+HtV3ippLFqZd+HE1yVw51fYG8J46YbmfzKGm07iJ0VzxRB u6WQ== X-Gm-Message-State: AOAM53031vOIWZd/Jz2dFphPvDNDh21++LzjCui/QOU+uAw/7sq6u1l3 hb9bYAYdAvmuZ6OXl3gFLHnijg== X-Received: by 2002:a17:90b:1bd2:b0:1d2:9340:d02b with SMTP id oa18-20020a17090b1bd200b001d29340d02bmr8756181pjb.1.1650330157164; Mon, 18 Apr 2022 18:02:37 -0700 (PDT) Received: from localhost.localdomain ([2400:4050:c3e1:100:5858:d3a6:5cad:ceeb]) by smtp.gmail.com with ESMTPSA id l2-20020a056a0016c200b004f7e3181a41sm14791729pfc.98.2022.04.18.18.02.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Apr 2022 18:02:36 -0700 (PDT) From: AKASHI Takahiro To: trini@konsulko.com, sjg@chromium.org, xypron.glpk@gmx.de Cc: u-boot@lists.denx.de, AKASHI Takahiro Subject: [PATCH 6/7] efi_loader: disk: compile efi_disk when CONFIG_BLK Date: Tue, 19 Apr 2022 10:01:57 +0900 Message-Id: <20220419010158.47034-7-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220419010158.47034-1-takahiro.akashi@linaro.org> References: <20220419010158.47034-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 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.5 at phobos.denx.de X-Virus-Status: Clean Now we can build efi_loader with block device support (CONFIG_BLK) and without CONFIG_PARTITIONS. So change Makefile. Signed-off-by: AKASHI Takahiro --- lib/efi_loader/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/Makefile b/lib/efi_loader/Makefile index 034d26cf0109..aaaa25cefe01 100644 --- a/lib/efi_loader/Makefile +++ b/lib/efi_loader/Makefile @@ -68,7 +68,7 @@ obj-y += efi_watchdog.o obj-$(CONFIG_EFI_ESRT) += efi_esrt.o obj-$(CONFIG_LCD) += efi_gop.o obj-$(CONFIG_DM_VIDEO) += efi_gop.o -obj-$(CONFIG_PARTITIONS) += efi_disk.o +obj-$(CONFIG_BLK) += efi_disk.o obj-$(CONFIG_NET) += efi_net.o obj-$(CONFIG_GENERATE_ACPI_TABLE) += efi_acpi.o obj-$(CONFIG_GENERATE_SMBIOS_TABLE) += efi_smbios.o