U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Anderson <seanga2@gmail.com>
To: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: "Tom Rini" <trini@konsulko.com>,
	"Alexandru Gagniuc" <mr.nuke.me@gmail.com>,
	"Andy Shevchenko" <andriy.shevchenko@linux.intel.com>,
	"Bin Meng" <bmeng.cn@gmail.com>, "Joel Stanley" <joel@jms.id.au>,
	"Marek Behún" <marek.behun@nic.cz>,
	"Mario Six" <mario.six@gdsys.cc>,
	"Michal Simek" <michal.simek@xilinx.com>,
	"Patrick Delaunay" <patrick.delaunay@foss.st.com>,
	"Priyanka Jain" <priyanka.jain@nxp.com>,
	"Rasmus Villemoes" <rasmus.villemoes@prevas.dk>,
	"Rick Chen" <rick@andestech.com>, "Stefan Roese" <sr@denx.de>,
	"Tero Kristo" <kristo@kernel.org>,
	"Tyler Hicks" <tyhicks@linux.microsoft.com>,
	"Wasim Khan" <wasim.khan@nxp.com>,
	"U-Boot Mailing List" <u-boot@lists.denx.de>,
	"Simon Glass" <sjg@chromium.org>
Subject: Re: [PATCH 04/10] Convert CONFIG_PHYSMEM to Kconfig
Date: Wed, 17 Nov 2021 10:46:35 -0500	[thread overview]
Message-ID: <6570b4ed-aab1-e7fa-8b8b-9bf171fb786a@gmail.com> (raw)
In-Reply-To: <479b9ccf-aa65-04f9-bc55-90736803ea06@gmx.de>

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:
> <snip />
>>>>>
>>>>> %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

  reply	other threads:[~2021-11-17 15:46 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-14  3:21 [PATCH 00/10] Kconfig: Drop some sandbox-related items Simon Glass
2021-11-14  3:21 ` [PATCH 01/10] trace: sandbox: Use only the Kconfig options Simon Glass
2021-11-14  9:32   ` Heinrich Schuchardt
2021-11-17  2:48     ` Simon Glass
2021-11-14  3:21 ` [PATCH 02/10] sandbox: Drop CONFIG_HOST_MAX_DEVICES Simon Glass
2021-11-14  9:34   ` Heinrich Schuchardt
2021-11-14  3:21 ` [PATCH 03/10] Convert CONFIG_SYS_FDT_LOAD_ADDR to Kconfig Simon Glass
2021-11-14  3:21 ` [PATCH 04/10] Convert CONFIG_PHYSMEM " Simon Glass
2021-11-14  9:46   ` Heinrich Schuchardt
2021-11-17  2:48     ` Simon Glass
2021-11-17  9:15       ` Heinrich Schuchardt
2021-11-17 15:03         ` Sean Anderson
2021-11-17 15:29           ` Heinrich Schuchardt
2021-11-17 15:46             ` Sean Anderson [this message]
2021-11-17 15:54               ` Tom Rini
2021-11-17 16:21                 ` Simon Glass
2021-11-17 15:55             ` Simon Glass
2021-11-14  3:21 ` [PATCH 05/10] sandbox: video: Drop CONFIG_LCD_BMP_RLE8 Simon Glass
2021-11-14  3:21 ` [PATCH 06/10] Convert CONFIG_KEYBOARD to Kconfig Simon Glass
2021-11-14  3:21 ` [PATCH 07/10] keyboard: Add a migration message Simon Glass
2021-11-14  3:21 ` [PATCH 08/10] sandbox: Drop CONFIG_SYS_TIMER_RATE Simon Glass
2021-11-14  3:22 ` [PATCH 09/10] ide: Drop unused CONFIG options Simon Glass
2021-11-14  9:52   ` Heinrich Schuchardt
2021-11-14  3:22 ` [PATCH 10/10] timer: Add a migration message Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6570b4ed-aab1-e7fa-8b8b-9bf171fb786a@gmail.com \
    --to=seanga2@gmail.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=bmeng.cn@gmail.com \
    --cc=joel@jms.id.au \
    --cc=kristo@kernel.org \
    --cc=marek.behun@nic.cz \
    --cc=mario.six@gdsys.cc \
    --cc=michal.simek@xilinx.com \
    --cc=mr.nuke.me@gmail.com \
    --cc=patrick.delaunay@foss.st.com \
    --cc=priyanka.jain@nxp.com \
    --cc=rasmus.villemoes@prevas.dk \
    --cc=rick@andestech.com \
    --cc=sjg@chromium.org \
    --cc=sr@denx.de \
    --cc=trini@konsulko.com \
    --cc=tyhicks@linux.microsoft.com \
    --cc=u-boot@lists.denx.de \
    --cc=wasim.khan@nxp.com \
    --cc=xypron.glpk@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox