From patchwork Thu Jun 14 16:33:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 138589 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp2341934lji; Thu, 14 Jun 2018 09:40:22 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJhGxfleIzrd5erHIBYugqzV0tDUfj99ubW4XaGu2Fmrceormw98Tg2tzXVp/Gqm8g/ExeK X-Received: by 2002:a50:f552:: with SMTP id w18-v6mr3281801edm.230.1528994422412; Thu, 14 Jun 2018 09:40:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528994422; cv=none; d=google.com; s=arc-20160816; b=PExag6fvo2jkUqeBReMCol+Cx1EnsaJEqq3183UEiHwkibr8cuY7G2vTiqC1ggLua1 uS/gkjPWbJTBm2xObuKctPswjIHkOTAx57rYT4BmlY/dBPF+6OROLW1QkHBqQMY80n90 Ou9yd6zOKRpIWIZL8nmovR/I3o17Taf+aI+DC9ZBxMOYB5qeLgZcy3b6IQXk/f9qewKa FJOSbBnW+dGNxL0SNl1AkZ9h/rTsNZ6txEzu0g8cIdqT0rK3lAOI6HG/0znOWqwawq94 rwFVnsHh+SWZS9SqNzXgiiRsNIujWB7In8rG0fTktAxcA7nFN3SFQx8jSl6LFbZmh01C y2qw== 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=h77JEONMAJIPV5z9OciuZwSVmxZr+Ce3eC55VrqpgaaZEOQ54Gpba9UqI1sLNu/nEJ rlIB7T0IjeVc6szT9U2M4Hex3D89LBXPTxYTXIvLOJqtDYq8QufWMRRBAZTJMddEt9Sl 7E54qHLjp4eqrFG1Jwlk6m2Eo89tRFj72jFIm1Hvetb997ZEYo6yEAeOL3vayc+lyldq XUPXIli8UiyFGE3SFWtrlgXtXBgRKz2q3ZIqWqCRT8rkpSwxX6a26IovaG25FE5RaZKe OVCKd+2ED3WTVGJJ6l4dqKd/XDO0FJmBWZjOdW50j74ajvW7CFYBkgItbIyiwgSx5tsg EF0w== 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 h6-v6si2024961edd.152.2018.06.14.09.40.17; Thu, 14 Jun 2018 09:40: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 BD881C21DB3; Thu, 14 Jun 2018 16:36:10 +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 E9FDFC21E74; Thu, 14 Jun 2018 16:33:44 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 80C4BC21CB6; Thu, 14 Jun 2018 16:33:35 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id 8B9EFC21DED for ; Thu, 14 Jun 2018 16:33: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 E050DAF85; Thu, 14 Jun 2018 16:33:34 +0000 (UTC) From: Alexander Graf To: u-boot@lists.denx.de Date: Thu, 14 Jun 2018 18:33:34 +0200 Message-Id: <20180614163334.46827-12-agraf@suse.de> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20180614163334.46827-1-agraf@suse.de> References: <20180614163334.46827-1-agraf@suse.de> Cc: Heinrich Schuchardt Subject: [U-Boot] [PATCH 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