From patchwork Sat Dec 7 04:42:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1205392 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=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="TDU2TJiZ"; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47VHHf3WMWz9sPL for ; Sat, 7 Dec 2019 15:57:02 +1100 (AEDT) Received: from phobos.denx.de (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D5798816F6; Sat, 7 Dec 2019 05:50:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="TDU2TJiZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DF35D815EE; Sat, 7 Dec 2019 05:49:56 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 38E5D815EE for ; Sat, 7 Dec 2019 05:49:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd43.google.com with SMTP id i11so9425788iol.13 for ; Fri, 06 Dec 2019 20:49:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6OR+j/xVIjmRd4eF2MPSzbr7rNzb8GHvWahN5+Y86WY=; b=TDU2TJiZkO2dRc1kZ2vKUOXsuTVd5ovM4ycgf/v4I35iZB011SjI2simxahyumNE/d ylc7yTjIdYj1SqV04dj/AaNpE4SeyHrKSI37zdYECxZaWu3CTWoz1QPTa8DcZPa7ZtNv oB4oAKornY6+ZWEM9EueKJuesRdZ6z4tb55fs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6OR+j/xVIjmRd4eF2MPSzbr7rNzb8GHvWahN5+Y86WY=; b=I8qL7NXb0w4ndR84Ef7RqXMAuir0ak1JBfnsg0AjDrSONUlF4hrPY3aARJV6miheiu Vt16p9gZqxAuymg9acscs7BG5NBl3B8L1Al8XnbEGKLypEFz1LmX6V48K1PCCqNnmvM5 xhDZIuHz/idQ+hxON5VbaJMML/eAWhfTm19sGorgXMPF6nOCQnzqJFobrbZUChWVDAmC D440yHvwxzRHTMzlMWA6yLqUELwYZMJKdBnUkpWT50UH8Oxv7YeHPwX6jj6waYdSjGn3 3fEMvmfKSnQ3ES7FChbIRzaGegmfdSs6sq7B3u3E2fxCr9N1sCl+n7+mBNmM508JFZe0 TxyQ== X-Gm-Message-State: APjAAAVbLhaTFRf8sbLitvcDlgRDdEblkhKm46odrDHDvc2AJTCD8oxf 5qBvKU7iR1UfnEpMXoayMzfmZSljBFM= X-Google-Smtp-Source: APXvYqyqpJUM0dn0L4q7yVzX1cJ06neJHpqzf6M3FqFiMq5K4LBDXPsveDSSOPhDf4OydiVt0lODQA== X-Received: by 2002:a6b:6c16:: with SMTP id a22mr13439714ioh.275.1575694193022; Fri, 06 Dec 2019 20:49:53 -0800 (PST) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id o7sm4549410ilo.58.2019.12.06.20.49.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Dec 2019 20:49:52 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Subject: [PATCH v6 058/102] x86: Add an fdtmap and image-header Date: Fri, 6 Dec 2019 21:42:31 -0700 Message-Id: <20191206213936.v6.58.I0e435466cc9099c61a9ea7f648498d6db7195d74@changeid> X-Mailer: git-send-email 2.24.0.393.g34dc348eaf-goog In-Reply-To: <20191207044315.51770-1-sjg@chromium.org> References: <20191207044315.51770-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 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" X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean Add these entries to the ROM so that we can list the contents of an image with 'binman ls'. The image-header is not essential but does speed up access. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/x86/dts/u-boot.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/x86/dts/u-boot.dtsi b/arch/x86/dts/u-boot.dtsi index fad3e7c951..5ebff4f407 100644 --- a/arch/x86/dts/u-boot.dtsi +++ b/arch/x86/dts/u-boot.dtsi @@ -124,6 +124,8 @@ filename = CONFIG_FSP_FILE_S; }; #endif + fdtmap { + }; #ifdef CONFIG_HAVE_CMC intel-cmc { filename = CONFIG_CMC_FILE; @@ -169,5 +171,8 @@ offset = ; }; #endif + image-header { + location = "end"; + }; }; #endif