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 21BD0C54EE9 for ; Sun, 18 Sep 2022 11:30:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4886C84601; Sun, 18 Sep 2022 13:30:25 +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="seKKixbr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 645C384601; Sun, 18 Sep 2022 13:30:23 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) (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 EA62A848A1 for ; Sun, 18 Sep 2022 13:30:20 +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=pali@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 ams.source.kernel.org (Postfix) with ESMTPS id 7BA16B80E7A; Sun, 18 Sep 2022 11:30:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1498EC433D6; Sun, 18 Sep 2022 11:30:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663500619; bh=DzKZrl/OZ7iejjsyzKF07SstedqAvwklSp/0iyae3Mc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=seKKixbrFIQqh2j4SC8kwsbZ/DhM3jAW2v566nxATcz9+qFv1WdBrQEBNdaryoXPg LZspwQUWGVqjrDKXLeYgXxlD7AP2xP3+lgkGiNtJCiMLaQfQt8ZK2mgiEgpZgFoi5N gFFLTJl3JBFJYV+xJLLAc3v0062G/NGY4oXORdgqSiNdm9QnFIae6ePJCuk4bMbL2t 6/iNnrcCzGq4XDTIBay7sM10l2azbYToZUV4VrBYT4SX/id4jWlx8qsWOXkeyJzh8U cJ0LKWLThvTYv1UfjvMAanBnLRIZYG6pK/ZcB2Gk0gStrBH9tCBdj3AIFYYO+DeIiR ESzXPT0m+ndEw== Received: by pali.im (Postfix) id 17790CD5; Sun, 18 Sep 2022 13:30:16 +0200 (CEST) Date: Sun, 18 Sep 2022 13:30:15 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Sean Anderson Cc: Simon Glass , U-Boot Mailing List Subject: Re: [PATCH] board_f: show_dram_config: Print also real DRAM size Message-ID: <20220918113015.e3a5fmxil3srx6kw@pali> References: <20220911093942.9570-1-pali@kernel.org> <20220912185608.xenntthnl64xej3r@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 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 Monday 12 September 2022 17:58:09 Sean Anderson wrote: > You can use TEST_STATIC from test/export.h this case. Now I sent new patch version where I extended comment. I have still issue with test framework. Could you help me how to write that unit test and run it? Scenario should really simple, just check like this: sizes_near(87654321, 87654320) == true; sizes_near(87654321, 1000) == false;