From patchwork Mon Sep 28 04:25:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1372325 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=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: 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=oF7bAB0U; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 4C08cc0BBjz9sSn for ; Mon, 28 Sep 2020 14:27:11 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 30542823A1; Mon, 28 Sep 2020 06:26:35 +0200 (CEST) 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="oF7bAB0U"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 40B898237B; Mon, 28 Sep 2020 06:26:25 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,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-oo1-xc43.google.com (mail-oo1-xc43.google.com [IPv6:2607:f8b0:4864:20::c43]) (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 9184F8231E for ; Mon, 28 Sep 2020 06:26:22 +0200 (CEST) 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-oo1-xc43.google.com with SMTP id y25so2293020oog.4 for ; Sun, 27 Sep 2020 21:26:22 -0700 (PDT) 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=43MvqYKkpfg6+zzJfUI6O/b+4u0YXMfdJe8767MFfBs=; b=oF7bAB0UVTI/oHhtK64lzCDr/YrFrg77VX62JDY4Wv7qhbp2gKDUNghKX7Tx7PTIYQ o+YKUKqLokJt+I2+A9NcvkAQZFlC80wWIlnJR/3BgBmp3iP28Xj1lYFQRjM78ya0LJnl Ad5zEsScp3OigU2aKVVTMSUzZC+q2WJc8H0ng= 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=43MvqYKkpfg6+zzJfUI6O/b+4u0YXMfdJe8767MFfBs=; b=p+ckSeQJh3mdXNyaO2Wq4FDgTx/vwcwYtiQwvKJcAbeNo8cQVxEy5zlosfyG+EJufI 9ncAEQ9XGkadSN6i27iE0pCPJKvRgTiXP8I4KuK5kqjJtY3hRmySK00xdqG0lMwAa4Fx PTEskWRd3JmqSGjlREj+XNqywzF0OLbf5av9kcuxjRgpEtCBxjeYJ79KqZPECmmFgtDw 38MG4cjrllnHbUZWkl/Kt/7Ln+vVwjrrEmaAzXJXgpLmsI1pcj+mgVqPYpJ3web47XJz EsES1KQTEhiabs66U0Cwsg7qXI2P80Zp+qa2J5QkQQRxICckZsJOx+GFwfMYdBdws/G/ /1cQ== X-Gm-Message-State: AOAM531VLyzK/PfN/9CjGmAYJtP4e3dblqOyXM2t+bhuFPXE38p2D/ia Sj6LnQDjFQH4ErsLEjZySoLedFONt6panhOj X-Google-Smtp-Source: ABdhPJyiiRNAo31x1EzencDE9tOiLWkQLPONk5AGLy70bMFVpY2nbQLM0I3d7Re42T98HOsC3+WCCw== X-Received: by 2002:a4a:9bde:: with SMTP id b30mr8209223ook.82.1601267181347; Sun, 27 Sep 2020 21:26:21 -0700 (PDT) Received: from localhost.localdomain (c-73-14-175-90.hsd1.co.comcast.net. [73.14.175.90]) by smtp.gmail.com with ESMTPSA id k51sm2620579otc.46.2020.09.27.21.26.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Sep 2020 21:26:20 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Andy Shevchenko , Heinrich Schuchardt , Bernhard Messerklinger , Wolfgang Wallner , Walter Lozano , Simon Glass , Bin Meng Subject: [PATCH 04/32] x86: Add support for private files Date: Sun, 27 Sep 2020 22:25:43 -0600 Message-Id: <20200928042611.1696178-3-sjg@chromium.org> X-Mailer: git-send-email 2.28.0.681.g6f77f65b4e-goog In-Reply-To: <20200928042611.1696178-1-sjg@chromium.org> References: <20200928042611.1696178-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.3 at phobos.denx.de X-Virus-Status: Clean Some boards need to include binary data into the image for use during the boot process. Add a node for these. An example is the audio-codec configuration used by some audio drivers on Intel platforms. If no private files are provided, they will be omitted. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- arch/x86/dts/u-boot.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/x86/dts/u-boot.dtsi b/arch/x86/dts/u-boot.dtsi index 0afdcac28d9..754df3d8749 100644 --- a/arch/x86/dts/u-boot.dtsi +++ b/arch/x86/dts/u-boot.dtsi @@ -138,6 +138,10 @@ filename = CONFIG_FSP_FILE_S; }; #endif + private_files: private-files { + type = "files"; + pattern = "*.dat"; + }; #if IS_ENABLED(CONFIG_HAVE_MRC) || IS_ENABLED(CONFIG_FSP_VERSION2) rw-mrc-cache { type = "blob";