From patchwork Fri Jun 15 12:42:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 138680 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp800755lji; Fri, 15 Jun 2018 05:46:04 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKzn2MQXRcRjdEUm2O4tWs5pcMEz3DwFvn4awr1P1G/R54AD9kyn9Y1R7fv6IHWpC/cpLqs X-Received: by 2002:a50:a50f:: with SMTP id y15-v6mr1760839edb.105.1529066764560; Fri, 15 Jun 2018 05:46:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529066764; cv=none; d=google.com; s=arc-20160816; b=gwn8HEnuO7DZXS8Aw3JD0gtH31drZETn+F2p9Rn4iJ5GVGK+Hha9n2ivmXjLGSKlXb oFQU5Bn4ehu6oMHl0ujvIuxBgsfdCqQQfXG3X5RR5hqUBZnidhUvqCONGMTFQWIaU2LE QSBRN8Nop6IoqkIFpXtxXhmJY0WBrEZAHY8z0eC6iW+6GYy4PV4BP4b+2Wf9VoScdDH8 XXvjc9OyjbcNKINYUQkK5Y+uWUcINJSB8hScimRc9Q6sI0RZwEsu/RxdFyNE5ZqpPtpL nySnOlcSO3e4DfHX14xuJvy+ovQAJDWwHrva23zKpiVjPyFHvRwdPzW7etq2jPN6A40f /nlg== 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=QLkCB9tAoupY/xOFPY1YNFKKxLGpbPfxr/OdQ3AZhsakd25rszIrUwygIWxZA3e3n5 OFGXu0GbtnGAC/1EKu8V4plcqdPaU/FfUc2+L/Y2dgBm7RxjcDHvCvl+7I/GqdjWZZOL QoCT/xa6v5syTFdCis7LhqdlLnSvCytqy8cPR01iRkj9Z2UMB0HjfTbZKyAQRDTBSqkq VabS2hPGHB1e0XAzUh0Rr/oAQY2mew1oTqYQkPHIziG9FmQM8i1nXiewKS7LAJbjiInr GSTIC+O9UHRKRbJo/StKwDP+xP8RHx1oFjED3xWOZp26MOX0pKRFcSNjrDgGoVhKE58B v04g== 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 z38-v6si4746743edb.261.2018.06.15.05.46.04; Fri, 15 Jun 2018 05:46:04 -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 2899DC21EF7; Fri, 15 Jun 2018 12:44:57 +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 2AD40C21F27; Fri, 15 Jun 2018 12:42:39 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 5C244C21DAF; Fri, 15 Jun 2018 12:42:33 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id C2FD2C21E88 for ; Fri, 15 Jun 2018 12:42:31 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 36873AF8D; Fri, 15 Jun 2018 12:42:31 +0000 (UTC) From: Alexander Graf To: u-boot@lists.denx.de Date: Fri, 15 Jun 2018 14:42:24 +0200 Message-Id: <20180615124229.35310-13-agraf@suse.de> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20180615124229.35310-1-agraf@suse.de> References: <20180615124229.35310-1-agraf@suse.de> Cc: Andy Shevchenko , Heinrich Schuchardt Subject: [U-Boot] [PATCH v3 12/17] 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