From patchwork Fri Jun 22 12:44:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 139614 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp832563lji; Fri, 22 Jun 2018 05:47:45 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKezml760cYGETkzJips1xVOWKxgO3T6uStGNBr0cxpL2hPxhfrNPAnDkMqjmoAvnpDAKTE X-Received: by 2002:aa7:c147:: with SMTP id r7-v6mr1759837edp.143.1529671664968; Fri, 22 Jun 2018 05:47:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529671664; cv=none; d=google.com; s=arc-20160816; b=rzTH0aRfW25oRdL/chEAacRvh24Kc23QlqE+TeXwz4YI2AiRYLAO5fJkFeGuFPtHi1 ChPf6faSkdpF1nI57S8C2qmDKLRukikv1pZroT4xdOauyqaScqlMQGc3vr1FrbVPQdu1 oFRnjJyeXB9cCh2i2T+DayGL7/FAIjT/jyUUGWN31kilFAJ7GQJ1mWIlYy2tRijWxwch WmXNp4PS9KqbkgGbTnmwRX2Uetu/3cBvm2dudRBB1vKr9Ry96Lj7Suo8/a+bg2n1S6fP W1+ZIOSa3skqeMzEK2xeGV+A/GUG/v8gY423+PGMznZ+im7LpNk1C/K6btTtwLGbDJJ9 gq5A== 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=75hwE0ZAnxr1gXLWm/eZRksrtKOR/1PsNDqa7nkfQoQ=; b=y5WnQgYYI2gMnkfFZMArw6jNkJa3QdJ7n2k3gCORF8IptMYMO20NNFthW0g4WFUQfX bb80lI60VNiARQSuDV164iGEHsVzc5hyHDB31RITbsM3xV/HYPS3QeQFUv+rUDf5UtCc heUXDz1h9/SqY6QSMQuKNZ7YM4nvxOg1gVLkhhHpSc2vAuEtpOrLmq4IFVfk/tZP5QsD tvhEHFb9PvXIkGi+yyjOp1FwN8FE972hu3D/KNs/Rc07jJ+Z0LM9/1ohoRPJBIqEPPLf f+OCkp0ThAuFMC05MKnWuS0B0P7KjYDkvL06hlND4tZQI3kIjRwFlbBiUJaB8/QfYPvD nSaw== 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 b26-v6si3471657edr.445.2018.06.22.05.47.44; Fri, 22 Jun 2018 05:47:44 -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 85D1FC21FA3; Fri, 22 Jun 2018 12:47:08 +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 D960EC22076; Fri, 22 Jun 2018 12:44:29 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B6EFAC21C2F; Fri, 22 Jun 2018 12:44:21 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id CB8F1C21F1F for ; Fri, 22 Jun 2018 12:44:20 +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 35012AF3C; Fri, 22 Jun 2018 12:44:20 +0000 (UTC) From: Alexander Graf To: u-boot@lists.denx.de Date: Fri, 22 Jun 2018 14:44:18 +0200 Message-Id: <20180622124418.52892-11-agraf@suse.de> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20180622124418.52892-1-agraf@suse.de> References: <20180622124418.52892-1-agraf@suse.de> Cc: Heinrich Schuchardt , Andy Shevchenko Subject: [U-Boot] [PATCH v5 10/10] 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 ce6a09f0b4..bfd7b19d79 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 need EFI_STUB_64BIT to be set on x86_64 with EFI_STUB depends on !EFI_STUB || !X86_64 || EFI_STUB_64BIT # We need EFI_STUB_32BIT to be set on x86_32 with EFI_STUB