From patchwork Mon Jun 18 15:23:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 139012 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp4088846lji; Mon, 18 Jun 2018 08:30:50 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKEi1m3JRHB1bO6HkxM+PR/iezdCammy8RzPpNSddYZG8eLsme+mJwFTK+/XBqpNeOofdbO X-Received: by 2002:aa7:c588:: with SMTP id g8-v6mr11343173edq.200.1529335850775; Mon, 18 Jun 2018 08:30:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529335850; cv=none; d=google.com; s=arc-20160816; b=gvVFAGmVivzVTXK4ayE1MdIwcp+eSrcJOSjmGgtQwShg6fnMunXTZjLQUK5Sr8ew89 PVgHw15D+4zeAM2dZyGp8ZL/evaKTraT8faI0vVRvAfN0HXS1eLo9JCuenONqdZEiLjq F2M77tpFi+T2OmnFBVndVK4Q1410PCanM7J1E+70KWDt327zGmAPB6HQ+DXjpLP4+TnI 4DdGQEDL/60aV09kcdTJaPCw++IETNocLli3UPay+ubtkVIM0cCKLCSr9E65rAi7PuoL shF04BRrw51XMOpEc3zC2hGb/RiJJAxlg2cNdiw00ZlU4mUTQqd9f1Bhk8R/NcQOw0Pc 92PQ== 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=fCNWa8cNb+zDFtvL2Mp7qiHi0JA5jtSEGJgxAKv1msXQp98d1H52/ptu+4R0xgsWtK faY7JhY8aD2WzYIrOsw+mmCudEvjKXHGJjlLXQv31nfjwSrYryZ7GNlE9eUOM/Jjq9rX DCsNt7sWQTq4Yh+VCKuvGVPj65qrtNSzx3MR/PxhR9us2ZuZ8buCrtjX7xqI9Y/wRbNO pcw+VrG5ltNQ9+KoOqNxDpJZf5vha/TdPKUJCiUL5NI6ikwRplj8jfADPvhFNHByuAsd Ci7q5rNs7efSi9pshTWyhuhri7mrei1NhNGvsSucDxYHhfhkRRAdzEocPTzgpqET5C/S vZTg== 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 u13-v6si5300660edq.297.2018.06.18.08.30.50; Mon, 18 Jun 2018 08:30:50 -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 6612EC21F02; Mon, 18 Jun 2018 15:27:00 +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 0080DC21F68; Mon, 18 Jun 2018 15:23:28 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id D78E8C21DFD; Mon, 18 Jun 2018 15:23:18 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id E18A0C21E88 for ; Mon, 18 Jun 2018 15:23:17 +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 2898FAF76; Mon, 18 Jun 2018 15:23:17 +0000 (UTC) From: Alexander Graf To: u-boot@lists.denx.de Date: Mon, 18 Jun 2018 17:23:06 +0200 Message-Id: <20180618152315.34233-13-agraf@suse.de> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20180618152315.34233-1-agraf@suse.de> References: <20180618152315.34233-1-agraf@suse.de> Cc: Heinrich Schuchardt , Andy Shevchenko Subject: [U-Boot] [PATCH v4 12/21] 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