From patchwork Mon Dec 4 21:28:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 844476 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; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="YXr7vpY+"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yrJCq5tYgz9s7g for ; Tue, 5 Dec 2017 08:38:47 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 7E233C2208D; Mon, 4 Dec 2017 21:32:13 +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_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID 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 B245FC22078; Mon, 4 Dec 2017 21:29:36 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 98812C220AB; Mon, 4 Dec 2017 21:28:53 +0000 (UTC) Received: from mail-it0-f66.google.com (mail-it0-f66.google.com [209.85.214.66]) by lists.denx.de (Postfix) with ESMTPS id C27E7C22054 for ; Mon, 4 Dec 2017 21:28:49 +0000 (UTC) Received: by mail-it0-f66.google.com with SMTP id x28so16405862ita.0 for ; Mon, 04 Dec 2017 13:28:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=WjNl16zHvdL35umYWkC8QQLa/+kAg2CxImokLfvEiRM=; b=YXr7vpY+U6K3VnzC06Fax2MOTn19XSxZw3gDd3ch2HrhEaObkTfj9/YSm0omEZciuh 14JHPafp5MNWXXxFD2B8gtD4L81TjaOhcim23hfQ5W0zwAb5G3KeIoXDqRytFou9K4XF fSn1cXolzOXtgBqH3V+dirDrUOBPSweH+u/YnOCag8QuTV+wCYJbnH3G91NJ1bpB2qHA dKt7wTGMtQVicTrxqF3yz+FsJL7co3IrT/eQFjyYz+GoL/fGCsd/ypvxIME8sb5JI3SP dz7blzPy+pMdQ7wi/YiWTlchAeRC1j0QzO4TIIX/FSHRQZf8k90aNQqHhnCphQk2Cm+d 6V0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=WjNl16zHvdL35umYWkC8QQLa/+kAg2CxImokLfvEiRM=; b=iL5TlrmtzdEpGF8e+30i6Bv3YKbzuE3Ra8HUnXLG8bXLIc0yykS8qEjiK0037pGnu6 dBeEsjWgS3xmdKeMGVdTHlaztFkYfkxERJfaEr5nMCCnmXN9BQ2PkxczmkFrbY8t9AKr fIBec7UVikE20PNqvggX//cNgLmWvyELBa+YpkmZ+k3gjH72cz2N7liNtGk4j8+ljcZx v9D+dHRUbeuoDFZAvo1iMbw4j4kMB8mfeA4H0/mXAr99FYiIOsX54y+cCgfak/haqumo r0Ui24iV1BAk7IhH2kCnA4yQ60ZuVS3whT7u48MgoC/Pkzc23DArgqttr6NOuUttr9DA 7KJQ== X-Gm-Message-State: AKGB3mJQRtl6lBUj8y1vIzpFmc/7wOfyVhyru3O4ZCMtokGh0t5XTmPS sNQzNsU1ZzEU9xBMN/E4BzbgTA== X-Google-Smtp-Source: AGs4zMbN6VskvEsQVmw6Ht6EDvw1pXRaDIZO+jqtHDsCt5L4XL1ydWz2GSn67kWb/WjAcnKqg2G1Jw== X-Received: by 10.36.142.133 with SMTP id h127mr15613996ite.92.1512422928347; Mon, 04 Dec 2017 13:28:48 -0800 (PST) Received: from kiwi.bld.corp.google.com ([100.67.80.24]) by smtp.gmail.com with ESMTPSA id u94sm6431611ioi.67.2017.12.04.13.28.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Dec 2017 13:28:47 -0800 (PST) Received: by kiwi.bld.corp.google.com (Postfix, from userid 121222) id F240E143C42; Mon, 4 Dec 2017 14:28:46 -0700 (MST) From: Simon Glass To: U-Boot Mailing List Date: Mon, 4 Dec 2017 14:28:26 -0700 Message-Id: <20171204212832.130100-11-sjg@chromium.org> X-Mailer: git-send-email 2.15.0.531.g2ccb3012c9-goog In-Reply-To: <20171204212832.130100-1-sjg@chromium.org> References: <20171204212832.130100-1-sjg@chromium.org> Cc: Andy Shevchenko , Heinrich Schuchardt , Alexander Graf Subject: [U-Boot] [PATCH v2 10/16] efi: sandbox: Add distroboot support 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" With sandbox these values depend on the host system. Let's assume that it is x86_64 for now. Signed-off-by: Simon Glass --- Changes in v2: None include/config_distro_bootcmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h index 5c469a23fa..6772d2d404 100644 --- a/include/config_distro_bootcmd.h +++ b/include/config_distro_bootcmd.h @@ -242,7 +242,7 @@ #elif defined(CONFIG_ARM) #define BOOTENV_EFI_PXE_ARCH "0xa" #define BOOTENV_EFI_PXE_VCI "PXEClient:Arch:00010:UNDI:003000" -#elif defined(CONFIG_X86) +#elif defined(CONFIG_X86) || defined(CONFIG_SANDBOX) /* Always assume we're running 64bit */ #define BOOTENV_EFI_PXE_ARCH "0x7" #define BOOTENV_EFI_PXE_VCI "PXEClient:Arch:00007:UNDI:003000"