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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF50CC433F5 for ; Wed, 17 Nov 2021 15:46:47 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id CBBEF613D3 for ; Wed, 17 Nov 2021 15:46:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CBBEF613D3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AFA84801DD; Wed, 17 Nov 2021 16:46:43 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="mxbkASGN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6E36F80944; Wed, 17 Nov 2021 16:46:41 +0100 (CET) Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) (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 CB15D800AA for ; Wed, 17 Nov 2021 16:46:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=seanga2@gmail.com Received: by mail-qv1-xf33.google.com with SMTP id gu12so2321005qvb.6 for ; Wed, 17 Nov 2021 07:46:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=KtDWzLL4Xf0v9WuKc6IecZd3lIfcXhNYkh7oL/VcPc4=; b=mxbkASGNHeip+iKGcBZoNLgYbc9pe9yDYewD5W5iQxcsuO7lpD0kjUR88bKC02keWp xJ+FnqjX14v1W3ev/WA0TBKOqYgORLpmzHrUzFRtRM04jDCu9D1WvxvC/1Yg9J+lr+Xt uij/jfNP+XrbR75HVeWWho0hlnnegit4P+6oGUaOiW9A0VBbi7Gp2VNqpWfEPvlzmKX5 DbASaG7OAkWj2QlRHf9L2c3H4KIRD+egegY1eVCeC9cJ27CY2T1hW7K9i0TuuYBMpiS1 3MaHmA1fdm/H75w3Ffid8tFe+HVD+7MGHIXW/T4dxWyfcWiZV952W+K0yskZREsQs5s+ hAcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=KtDWzLL4Xf0v9WuKc6IecZd3lIfcXhNYkh7oL/VcPc4=; b=kGeH4MAyrEa3m9CAolPzI33logqZzW+URNPhKOBPvp1NxnxD9Mcf9k5wMTIyrcxJKb AGdIuz1z0D61VzqhZ8JGQjMVZr9IQRgckdUbab4dL78ijzUPtXxL0ZUsniTCyB3++Dqb bdAvyfWmFwF5Gdhk/n8pJAou73y2J4ethZUy+D+bRgomgudCUoRFK27nI2W24Ckreikg Tet+2scKyqbK04qEhr2RkmOAGbRxzImkp39a9zpECEgWKQGBV1vyJ85N14Ou/jlbxFTt wR6ZLKht8Fuu44pu4oMmvgM94KhVBsTt8aCtDq6MBCkeMndSoxENwV4objmu7vc4XXrq AekA== X-Gm-Message-State: AOAM531Yt+VdiuZapOMUBYgLEw12DwXZoZKYAidwzoX9kRD9IRmuSo0B RQiIKItubLFPQXexb6Dfe+0= X-Google-Smtp-Source: ABdhPJxhY/iV0ssx6FhJPkTiDUfpoBH/F3Rk7ZQc9wo5t7QUHOeLCdMdiFRDZeKYS/N37BmYiI/BEw== X-Received: by 2002:ad4:4ee4:: with SMTP id dv4mr55784199qvb.59.1637163996644; Wed, 17 Nov 2021 07:46:36 -0800 (PST) Received: from [192.168.1.201] (pool-108-18-207-184.washdc.fios.verizon.net. [108.18.207.184]) by smtp.googlemail.com with ESMTPSA id a24sm96165qtp.95.2021.11.17.07.46.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 Nov 2021 07:46:36 -0800 (PST) From: Sean Anderson Subject: Re: [PATCH 04/10] Convert CONFIG_PHYSMEM to Kconfig To: Heinrich Schuchardt Cc: Tom Rini , Alexandru Gagniuc , Andy Shevchenko , Bin Meng , Joel Stanley , =?UTF-8?Q?Marek_Beh=c3=ban?= , Mario Six , Michal Simek , Patrick Delaunay , Priyanka Jain , Rasmus Villemoes , Rick Chen , Stefan Roese , Tero Kristo , Tyler Hicks , Wasim Khan , U-Boot Mailing List , Simon Glass References: <20211114032201.493122-1-sjg@chromium.org> <20211114032201.493122-5-sjg@chromium.org> <8399a84b-b2f0-b764-d70d-934b0069fbbf@gmx.de> <5f5c0668-5e8a-8bff-937c-32056165e160@gmail.com> <479b9ccf-aa65-04f9-bc55-90736803ea06@gmx.de> Message-ID: <6570b4ed-aab1-e7fa-8b8b-9bf171fb786a@gmail.com> Date: Wed, 17 Nov 2021 10:46:35 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <479b9ccf-aa65-04f9-bc55-90736803ea06@gmx.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.35 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.2 at phobos.denx.de X-Virus-Status: Clean On 11/17/21 10:29 AM, Heinrich Schuchardt wrote: > On 11/17/21 16:03, Sean Anderson wrote: >> On 11/17/21 4:15 AM, Heinrich Schuchardt wrote: >>> On 11/17/21 03:48, Simon Glass wrote: > >>>>> >>>>> %s/4GB/4 GiB/ >>>> >>>> Please let's not add that junk to U-Boot. >>> >>> 4GB = 4,000,000,000 bytes period. >> >> Only if you're a hard drive manufacturer ;) > > I suggest reading ISO/IEC 80000-13:2008. FWIW I like how truncate(1) does it: > Units are K,M,G,T,P,E,Z,Y (powers of 1024) or KB,MB,... (powers of > 1000). Binary prefixes can be used, too: KiB=K, MiB=M, and so on. Which leaves the awkward units alone, and reserves the most convenient suffixes for natural units. --Sean