From patchwork Fri Apr 9 12:35:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 1464332 X-Patchwork-Delegate: matthias.bgg@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; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=QQkiVylw; 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) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FGyK13W0pz9sW5 for ; Fri, 9 Apr 2021 22:35:33 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 71B42804B9; Fri, 9 Apr 2021 14:35:24 +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="QQkiVylw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B03ED80C77; Fri, 9 Apr 2021 14:35:22 +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.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9372480377 for ; Fri, 9 Apr 2021 14:35:19 +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=matthias.bgg@kernel.org Received: by mail.kernel.org (Postfix) with ESMTPSA id E5A84610E7; Fri, 9 Apr 2021 12:35:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617971718; bh=CSarOdmylcaLf2+vkBT0jjc/3A/5Tquco4oGcCSfQk8=; h=From:To:Cc:Subject:Date:From; b=QQkiVylwz1WCcVSXCSa/uI2Fq4Y3QN0GhxSxF1lJ5sDoV3eqHc9dMwablJyQe8Ceb uDDz8bZxvUYxLIr0YPJH0Uv4CeE+XbJaKO6MArkHxcqDLexkbE5uocMCowj6NoPr+0 zRnhAeWiBRpjF6c6yw7iYRqSX9hlszB3tNNAL/0ZFbLJnts3Hu2tRR9+MFQ7WB5vYm f5ijOm/iRrzjkrKAu5FKSJF/19yhYwNyAmCI28xD+cCK8e0HGWz9IJE84ZYUhZPf/e HZWj+Xd4ktgUBnUAdbSJ8Jns2I2JE/9qMNMJND+Bv5MmYSIFGWv8zKFnUInIEptQz4 vclfzLVmL7jrw== From: matthias.bgg@kernel.org To: fvogt@suse.com, nsaenz@kernel.org, matthias.bgg@kernel.org Cc: u-boot@lists.denx.de, Matthias Brugger Subject: [PATCH 1/2] arm: dts: bcm283x: Add minimal smbios information Date: Fri, 9 Apr 2021 14:35:10 +0200 Message-Id: <20210409123511.5827-1-matthias.bgg@kernel.org> X-Mailer: git-send-email 2.30.2 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.4 at phobos.denx.de X-Virus-Status: Clean From: Matthias Brugger At present SMBIOS tables are emtpy, which breaks some use-cases that rely on that. Add some minimal information to fullfill this. Signed-off-by: Matthias Brugger --- arch/arm/dts/bcm283x-u-boot.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/dts/bcm283x-u-boot.dtsi b/arch/arm/dts/bcm283x-u-boot.dtsi index 68d03627f4..f5235cb083 100644 --- a/arch/arm/dts/bcm283x-u-boot.dtsi +++ b/arch/arm/dts/bcm283x-u-boot.dtsi @@ -6,6 +6,26 @@ * (C) Copyright 2016 Fabian Vogt */ +/ { + smbios { + compatible = "u-boot,sysinfo-smbios"; + smbios { + system { + manufacturer = "raspberrypi"; + product = "rpi"; + }; + baseboard { + manufacturer = "raspberrypi"; + product = "rpi"; + }; + chassis { + manufacturer = "raspberrypi"; + product = "rpi"; + }; + }; + }; +}; + &uart0 { skip-init; u-boot,dm-pre-reloc;