From patchwork Thu Jun 14 18:22:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 138607 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp2455201lji; Thu, 14 Jun 2018 11:27:22 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKnetiRFhD05kjlCCnyfhnpMaYo4a52OdazpEZ8S3rAkaodYF9Wb7sw/TA2s3tVxPT+cYtf X-Received: by 2002:a50:9e01:: with SMTP id z1-v6mr3563956ede.246.1529000842565; Thu, 14 Jun 2018 11:27:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529000842; cv=none; d=google.com; s=arc-20160816; b=N9aKhhcDvtR7pJyTsaBEp05SV3u09bVTBNVyNKQCTQVGJgYgWmWGC+Y3jWXt3JTU6r yPEm5Magc0lti73O7U8OPRkYy2GVw8zw+vxdfjdhcsEBg0MMvyt41IGW14zac2PMb7aQ SP54oEiomuTxy/6arRwLwlOYD8mWeUcy9sOsFBCJpknhvwuJqMORZakAHbzqF6JhsCML 5btpZBYfVW3pI2noDR/eqBvEV0DiGtGOjzWKr/zFWVATu+yoNostPcPXSQn5+Hf6L4AV NpF88QVHuUej9wNUF0cihWPrtW31apUdyAoVEHLHpGJShbVjNM0ORPx6kpqIWbjQH9ix Sk+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=irZnT1nzMA/NDgFCc8DHOr3IeSnoIbqTeA61sLv2B+Q=; b=1FDv/TdBcLtOKdXsI91+z3boL0whZjTk8BU9EyPtAlIwUouUPZdBUcL8W3/y095bpo Wa22xUlLHmUNz8V0Kr/ZVdASFnfb3pd1cxVnHnk/OtVMwi4FS3pd//IRWXadJ1pOxzo/ /OiPnpA1Z/8nSSceNZzSHhuQLJ7D2UUW1flcDY/mUtnxmi24usMoM/JBcBrnK8yT+4B+ 64gsfBcPVblIWfT5yL0mcS+GxpE4RAItrPq4twXJcFAkEDDQj/Tjo4LnNyrpMIAtiUrW tFI4hPiugOaH5+7QtaCm1meK1N2HZdjl3UQ86p6p0VXx3LE221LmyA+P6jGuB76wE32J n5Yw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id b34-v6si913028edf.218.2018.06.14.11.27.22; Thu, 14 Jun 2018 11:27:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 34A1BC21E15; Thu, 14 Jun 2018 18:23:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id F1597C21D74; Thu, 14 Jun 2018 18:22:40 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id DA6D2C21CB6; Thu, 14 Jun 2018 18:22:35 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id 67204C21DAF for ; Thu, 14 Jun 2018 18:22:35 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id D47A1AFB9; Thu, 14 Jun 2018 18:22:34 +0000 (UTC) From: Alexander Graf To: u-boot@lists.denx.de Date: Thu, 14 Jun 2018 20:22:32 +0200 Message-Id: <20180614182232.78201-12-agraf@suse.de> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20180614182232.78201-1-agraf@suse.de> References: <20180614182232.78201-1-agraf@suse.de> Cc: Heinrich Schuchardt , Andy Shevchenko Subject: [U-Boot] [PATCH v2 11/11] efi: sandbox: Enable EFI loader for sandbox X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Simon Glass This allows this feature to build within sandbox. This is for testing purposes only since it is not possible for sandbox to load native code. Signed-off-by: Simon Glass Signed-off-by: Alexander Graf --- lib/efi_loader/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig index df58e633d1..d471e6f4a4 100644 --- a/lib/efi_loader/Kconfig +++ b/lib/efi_loader/Kconfig @@ -1,6 +1,6 @@ config EFI_LOADER bool "Support running EFI Applications in U-Boot" - depends on (ARM || X86 || RISCV) && OF_LIBFDT + depends on (ARM || X86 || RISCV || SANDBOX) && OF_LIBFDT # We do not support bootefi booting ARMv7 in non-secure mode depends on !ARMV7_NONSEC # We need EFI_STUB_64BIT to be set on x86_64 with EFI_STUB