From patchwork Wed Jun 27 10:16:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 935379 X-Patchwork-Delegate: bmeng.cn@gmail.com 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=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="NTOY4sus"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 41FzHs6rQSz9s0w for ; Wed, 27 Jun 2018 20:12:57 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 78DBFC21DC1; Wed, 27 Jun 2018 10:11:55 +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=FREEMAIL_FROM, 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 6026BC21DC1; Wed, 27 Jun 2018 10:11:36 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 82597C21D65; Wed, 27 Jun 2018 10:11:34 +0000 (UTC) Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by lists.denx.de (Postfix) with ESMTPS id D531BC21C2C for ; Wed, 27 Jun 2018 10:11:32 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id i7-v6so717506pgp.2 for ; Wed, 27 Jun 2018 03:11:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=fiyoks7n8tDPJIOfxrRVRARkJ66NkGc9ZHoio4tsKYc=; b=NTOY4sus8nxm1yQWmFM8BgMHXz2XzBglqPXAYrPpPu8pfQOM6dAHInGi1q9x7kVkn7 rsr2QebLcGmnN0f2Ob0f0AXWRMTqGvo05TTGeThN3TbN7l3tQsN/KbL3kC/eYBJsIvlH ur/E7jrU6lWni2xupJoX3FanX+4rt/Lfimaex87ZGja0qSE4/rulhKNqPMCoKJ+kA1J9 29wAtcfdwn4WvvMA1jRdyod6A3hKpyyqA0d82xU97J4N/k4EIP1Q4OjS/ruwaF/Ny84d R+PaUxoBWAQNn5tj3CN6V2c/PlXreXU6axpCw/Aj8k/jshVRhmqvphQayNfRZmsZgZrP L82A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=fiyoks7n8tDPJIOfxrRVRARkJ66NkGc9ZHoio4tsKYc=; b=UYfxZS5Dtz/GD+UO3VZBIM1+5spI8h7R0GYGn0h6IcKDIzAnS+HJlkWaTgZOBuSllQ cg2qsn+NldHTzss135jMxUG8lMC261tutHMQiDQHQayL6ENqLtj/S4Ubw3iJpN0tNWjH 3cE11a14NDwKpUNNcAKs+QCf/UU9fX/ykE6w9AiuypKm450z+gY4E/lE8uKI9PlVcf9c dG4UAbKaCBhvpeQlOUKP+GBEKeSzfyRL4tDbSomGq8c5Xt7UvpwXYzGg1Xu/m843yOrH TRfjvTMRbno/XN9yYOIcowIwz0usQbZOIM0FhT8EvJl73PqIHGMvGccrd9B7jDyh5QUH zZgg== X-Gm-Message-State: APt69E0sQ2cF/d1NT21g1fF9WF0YsJoMBgawLpRbx8I1Dw6u+ONYVVrL Q9429aNWchhc0ztmlwByi30= X-Google-Smtp-Source: ADUXVKK5/qiccgQ0cusTBtBQPIGZTPBQCfI2Fu9BC9c/YwMSH9ZhUqWBCExxM+t0ZOIg7JVRGyKm7A== X-Received: by 2002:a65:4dc3:: with SMTP id q3-v6mr4531951pgt.331.1530094291623; Wed, 27 Jun 2018 03:11:31 -0700 (PDT) Received: from ala-d2121-lx1.wrs.com (unknown-156-139.windriver.com. [147.11.156.139]) by smtp.gmail.com with ESMTPSA id o5-v6sm8114036pgd.24.2018.06.27.03.11.30 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 27 Jun 2018 03:11:30 -0700 (PDT) From: Bin Meng To: Simon Glass , Alexander Graf , Heinrich Schuchardt , U-Boot Mailing List Date: Wed, 27 Jun 2018 03:16:09 -0700 Message-Id: <1530094573-7814-2-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1530094573-7814-1-git-send-email-bmeng.cn@gmail.com> References: <1530094573-7814-1-git-send-email-bmeng.cn@gmail.com> Subject: [U-Boot] [PATCH v2 2/6] efi_loader: Increase number of configuration tables to 16 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" At present the number of configuration tables is set to 2. By looking at which tables the Linux EFI stub or iPXE can process, it looks 16 is a reasonable number. Signed-off-by: Bin Meng Reviewed-by: Heinrich Schuchardt --- Changes in v2: - new patch "increase number of configuration tables to 16" lib/efi_loader/efi_boottime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index 50d3115..261d66d 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -43,7 +43,7 @@ static bool efi_is_direct_boot = true; * In most cases we want to pass an FDT to the payload, so reserve one slot of * config table space for it. The pointer gets populated by do_bootefi_exec(). */ -static struct efi_configuration_table __efi_runtime_data efi_conf_table[2]; +static struct efi_configuration_table __efi_runtime_data efi_conf_table[16]; #ifdef CONFIG_ARM /*