From patchwork Fri Dec 17 19:40:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1570312 X-Patchwork-Delegate: xypron.glpk@gmx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=k0jq+l7f; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4JFzsS5dSCz9sXM for ; Sat, 18 Dec 2021 06:42:36 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 96CD98378C; Fri, 17 Dec 2021 20:42:04 +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=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="k0jq+l7f"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CA9198378C; Fri, 17 Dec 2021 20:41:37 +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=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (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 BFB8B83762 for ; Fri, 17 Dec 2021 20:41:27 +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-xd33.google.com with SMTP id z26so4440911iod.10 for ; Fri, 17 Dec 2021 11:41:27 -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=lbG/BpIMbEc+RN90JK8nv53FpgkYDTuDOI1Vc+tsUeM=; b=k0jq+l7fQJNtGVDfaSu9AFcfmWcjxlYY8Sb+JwtNbSibhsYbryaAyyfYemsn1sS9mY E6JYcrwJir7LQ5JsLpHvg59oiirWBBTOZyONgECAA4zZR/OH56BtKGWd4TkiOgE8Clag goBq3cTn8mOlCxsUzCKWCQQrZEVbPXSAtoYIo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lbG/BpIMbEc+RN90JK8nv53FpgkYDTuDOI1Vc+tsUeM=; b=zxjBOH1s0iKqdy4kSTGUatebE2zbSCQ5dAUg6a2hM8b9rYXMGrvjXx9rgK0aoP0ZFQ AD844D/QEwCLU+4BUnIpMBUj+691rJ4d41eDtHq1WlbhdwqngXCwaZZ6HdoSh+Qh9ibv s0XsuOuZKewb2rAqx2eVFsSmqqTsRHABEwnFI9N2eBT0Sac/JywUp/t2IOu2zMciXzWX rq7+hzUJiA++Gw0ZbZGD97gQoyTnUN5jWgdiHq6NPBiqYpY4EXb/iQDwZ81To2EnscFi mcYY7y060fnRhUGAaB8616FeJ5PSsTvisdiwH/jwJSHb2+bW4JA1AwIHmKYjzOx3lWuz IuUg== X-Gm-Message-State: AOAM531LAGq06martAlA0jQ9Tl9faWAtfd/sBB9m42RTuE2ClVagSJ19 +icBNjvvT5tdQvYenNczBh3BqQjTpN4XqA== X-Google-Smtp-Source: ABdhPJyZ5i4897Knb/ehcevV9JuJnbV0w6J96ldhHDXarIfi4AK6IhpwduXs1AIBkvGkrp3p9AqRUg== X-Received: by 2002:a05:6638:1395:: with SMTP id w21mr3044425jad.125.1639770086439; Fri, 17 Dec 2021 11:41:26 -0800 (PST) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id w19sm6079605iov.12.2021.12.17.11.41.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Dec 2021 11:41:26 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Bin Meng , Heinrich Schuchardt , Tom Rini , Ilias Apalodimas , Christian Melki , Simon Glass , Alexander Graf Subject: [PATCH v6 08/27] x86: efi: Add room for the binman definition in the dtb Date: Fri, 17 Dec 2021 12:40:40 -0700 Message-Id: <20211217194059.858580-5-sjg@chromium.org> X-Mailer: git-send-email 2.34.1.173.g76aa8bc2d0-goog In-Reply-To: <20211217194059.858580-1-sjg@chromium.org> References: <20211217194059.858580-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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.103.2 at phobos.denx.de X-Virus-Status: Clean At present only 4KB of spare space is left in the DTB when building the EFI app. Increase this to 32KB so there is plenty of space to insert the binman definition. This cannot be expanded later (as with OF_SEPARATE) because the ELF image has already been built. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/dts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/dts/Makefile b/arch/x86/dts/Makefile index be209aaaf8f..5c8c05ec499 100644 --- a/arch/x86/dts/Makefile +++ b/arch/x86/dts/Makefile @@ -24,7 +24,7 @@ dtb-y += bayleybay.dtb \ targets += $(dtb-y) -DTC_FLAGS += -R 4 -p 0x1000 +DTC_FLAGS += -R 4 -p $(if $(CONFIG_EFI_APP),0x8000,0x1000) PHONY += dtbs dtbs: $(addprefix $(obj)/, $(dtb-y))