From patchwork Wed Aug 8 09:54:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 954889 X-Patchwork-Delegate: agraf@suse.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=reject dis=none) header.from=chromium.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 41lnXs52Kdz9s4Z for ; Wed, 8 Aug 2018 20:23:41 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 585A1C21FB5; Wed, 8 Aug 2018 09:57:03 +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=RCVD_IN_MSPIKE_H2 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 3B51AC21FCB; Wed, 8 Aug 2018 09:55:24 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 3AB44C21FF4; Wed, 8 Aug 2018 09:54:49 +0000 (UTC) Received: from mail-ua0-f201.google.com (mail-ua0-f201.google.com [209.85.217.201]) by lists.denx.de (Postfix) with ESMTPS id 893E6C21FED for ; Wed, 8 Aug 2018 09:54:45 +0000 (UTC) Received: by mail-ua0-f201.google.com with SMTP id x17-v6so1268619uap.12 for ; Wed, 08 Aug 2018 02:54:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=vPY5bVxP0IrJJUSEkTYdY43bFIztUCNfcJjCFMgZZA4=; b=fhuRqkQqpBY/g1Nho0CtAcOVkUHQUeXVe3kSQWUnKK5IJbyJF90OEx0efD+RVR4Tiy DSOE6Lr335tXzl8dO4ZEwvRjhyqZNt+ZHHAzQrj3LL1L9Ud5xH3M5TGSdqsMsd+qMl0t 9mEW4jA9/gnDo5floALzv2fVoX5NUNB9FDpGjYwiWOTl3/L7OoaB7L9VQBdiACkRmApP 8lyiCSKikw0wWQPcsRQUgwlCrw1q5YtDmTz2E0j57H8OEHNsD2Y/n5Wh51+Bl1n0IqD5 qVdZI2cHkY5pl8B55NP/BZHxVt0j8wwowprMXP+DeiYTFIk43zjGnAPggoEZxQbaf6xK 4ZJA== X-Gm-Message-State: AOUpUlGIsGRaphf4W+bpRkvkFxVUqUQofYKq2iVIMtkRk8qW+vib20Qf FCDbdJ/XplDsDA/OYWtetFN5GzY= X-Google-Smtp-Source: AA+uWPxVxoZdcOFFz9FQAaDY7LC2ti5pLC+SYL2f1tyVuKDIFf7QRI9/2d/YPBkdoZNjksWxyZhSkr8= X-Received: by 2002:a1f:a10a:: with SMTP id k10-v6mr1119592vke.27.1533722084702; Wed, 08 Aug 2018 02:54:44 -0700 (PDT) Date: Wed, 8 Aug 2018 03:54:19 -0600 In-Reply-To: <20180808095433.230882-1-sjg@chromium.org> Message-Id: <20180808095433.230882-5-sjg@chromium.org> Mime-Version: 1.0 References: <20180808095433.230882-1-sjg@chromium.org> X-Mailer: git-send-email 2.18.0.597.ga71716f1ad-goog From: Simon Glass To: U-Boot Mailing List Cc: Andy Shevchenko , Heinrich Schuchardt , Alexander Graf Subject: [U-Boot] [PATCH v9 04/18] efi: sandbox: Enable EFI loader build 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: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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 --- Changes in v9: None Changes in v8: None Changes in v7: - Update patch subject s/builder/build/ Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - Init the 'rows' and 'cols' vars to avoid a compiler error (gcc 4.8.4) Changes in v2: None 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 ce6a09f0b43..bfd7b19d791 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