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 1D148C433FE for ; Mon, 17 Oct 2022 13:21:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 75DB184B54; Mon, 17 Oct 2022 15:21:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=rock-chips.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 4A92484EA5; Mon, 17 Oct 2022 15:21:46 +0200 (CEST) Received: from mail-m11879.qiye.163.com (mail-m11879.qiye.163.com [115.236.118.79]) (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 DD47284B54 for ; Mon, 17 Oct 2022 15:21:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=rock-chips.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=kever.yang@rock-chips.com Received: from [172.16.12.93] (unknown [58.22.7.114]) by mail-m11879.qiye.163.com (Hmail) with ESMTPA id A26646801C3; Mon, 17 Oct 2022 21:21:27 +0800 (CST) Message-ID: <3bbfb7f9-56f0-0cdc-4081-4afc6eb31621@rock-chips.com> Date: Mon, 17 Oct 2022 21:21:27 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] arm: dts: rockchip: rk3399: nanopi-r4s: Provide smbios sysinfo Content-Language: en-US To: =?UTF-8?Q?Christian_Kohlsch=c3=bctter?= , u-boot@lists.denx.de, Xiaobo Tian , Simon Glass , Philipp Tomsich References: <20220929001520.9095-1-christian@kohlschutter.com> From: Kever Yang In-Reply-To: <20220929001520.9095-1-christian@kohlschutter.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFJSktLSjdXWS1ZQUlXWQ8JGhUIEh9ZQVlCT05JVk5JTR9DTR4ZSkkfT1UTARMWGhIXJB QOD1lXWRgSC1lBWU5DVUlJVUxVSkpPWVdZFhoPEhUdFFlBWU9LSFVKSktISkxVSktLVUtZBg++ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Nio6Nxw5LT0tDzQfIQkMKVYo IQJPCw1VSlVKTU1NS0pJQ0NDSkNOVTMWGhIXVRAeDR4JVQIaFRw7CRQYEFYYExILCFUYFBZFWVdZ EgtZQVlOQ1VJSVVMVUpKT1lXWQgBWUFISkpLNwY+ X-HM-Tid: 0a83e61b3aef2eb5kusna26646801c3 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.6 at phobos.denx.de X-Virus-Status: Clean On 2022/9/29 08:15, Christian Kohlschütter wrote: > Provide human-readable manufacturer and product names for the > FriendlyELEC NanoPi R4S. > > Enable CONFIG_SYSINFO and CONFIG_SYSINFO_SMBIOS by default. > > Signed-off-by: Christian Kohlschütter Reviewed-by: Kever Yang Thanks, - Kever > --- > arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi | 22 ++++++++++++++++++++++ > configs/nanopi-r4s-rk3399_defconfig | 2 ++ > 2 files changed, 24 insertions(+) > > diff --git a/arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi b/arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi > index cd1642527b..69800cc368 100644 > --- a/arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi > +++ b/arch/arm/dts/rk3399-nanopi-r4s-u-boot.dtsi > @@ -14,3 +14,25 @@ > > #include "rk3399-nanopi4-u-boot.dtsi" > #include "rk3399-sdram-lpddr4-100.dtsi" > + > +/ { > + smbios { > + compatible = "u-boot,sysinfo-smbios"; > + > + smbios { > + system { > + manufacturer = "FriendlyELEC"; > + product = "NanoPi R4S"; > + }; > + > + baseboard { > + manufacturer = "FriendlyELEC"; > + product = "NanoPi R4S"; > + }; > + > + chassis { > + manufacturer = "FriendlyELEC"; > + }; > + }; > + }; > +}; > diff --git a/configs/nanopi-r4s-rk3399_defconfig b/configs/nanopi-r4s-rk3399_defconfig > index dd2579d2e0..502f007e6e 100644 > --- a/configs/nanopi-r4s-rk3399_defconfig > +++ b/configs/nanopi-r4s-rk3399_defconfig > @@ -75,3 +75,5 @@ CONFIG_MISC=y > CONFIG_MISC_INIT_R=y > CONFIG_ROCKCHIP_EFUSE=y > CONFIG_ROCKCHIP_OTP=y > +CONFIG_SYSINFO=y > +CONFIG_SYSINFO_SMBIOS=y