From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A844CC433F5 for ; Mon, 9 May 2022 07:30:16 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D24A284181; Mon, 9 May 2022 09:29:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="uJXfFfkq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1BFBD83DB0; Mon, 9 May 2022 09:29:55 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9D20483DA6 for ; Mon, 9 May 2022 09:29:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rogerq@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 66015612B4; Mon, 9 May 2022 07:29:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 001ECC385AB; Mon, 9 May 2022 07:29:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652081388; bh=CeffT5XM6lcpAxrFrvhRiPOxuUY+FQnwWjXxsiUB2M8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uJXfFfkqiMNPy1hdmq9RzdfyapX6yIvsZqB0w7nlT9yognsCKMqpB7lMi+zOSa3eQ eoRV+FuEzQkVz5bNNVWq2BGEKWHaDXOCC1fseQOX3drvdhtGIS9TVOSy3n5TsTsm/R 38JXnV+GS6x/0I1e/lqkwclYmExpDr6zV5pVMm2MKX+uzSe96UL5XUOXZc3eFZNHLj l+3+rpZZ32r5Hg8RxNTp0BjEOEmx5f+7sS/j8K2mR0GlIFT0DRQOsLBDsj6QSQexqa nUHlHYQp2G8xp5r2npF7kSlSXuNmEluyPfH6CZM9B25JqGcLlSORQvVqKZvWNmoCaU obHZB8XJ/9WuQ== From: Roger Quadros To: sjg@chromium.org, vigneshr@ti.com, nm@ti.com Cc: trini@konsulko.com, praneeth@ti.com, u-boot@lists.denx.de, Roger Quadros Subject: [u-boot PATCH 2/3] tools/fdtgrep: Include __symbols__ table Date: Mon, 9 May 2022 10:29:35 +0300 Message-Id: <20220509072936.12899-3-rogerq@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220509072936.12899-1-rogerq@kernel.org> References: <20220509072936.12899-1-rogerq@kernel.org> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean This is required for overlays to work at SPL. Signed-off-by: Roger Quadros --- tools/fdtgrep.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/fdtgrep.c b/tools/fdtgrep.c index 641d6a2e3e..d904f679ae 100644 --- a/tools/fdtgrep.c +++ b/tools/fdtgrep.c @@ -1230,6 +1230,10 @@ int main(int argc, char *argv[]) disp.fout = stdout; } + /* include symbol table */ + if (value_add(&disp, &disp.value_head, FDT_IS_NODE, 1, "/__symbols__")) + usage("Cannot add __symbols__ value"); + /* Run the grep and output the results */ ret = do_fdtgrep(&disp, filename); if (disp.output_fname) -- 2.17.1