diff mbox series

[1/1] disk: typo Terra Bytes

Message ID 20200917155721.16366-1-xypron.glpk@gmx.de
State Accepted
Commit 643b5e7ea37139640c4c780a221d365a6ee60194
Delegated to: Tom Rini
Headers show
Series [1/1] disk: typo Terra Bytes | expand

Commit Message

Heinrich Schuchardt Sept. 17, 2020, 3:57 p.m. UTC
512 * 2^32 bytes equals 2 tebibytes.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 disk/part_efi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.28.0

Comments

Simon Glass Sept. 17, 2020, 6 p.m. UTC | #1
On Thu, 17 Sep 2020 at 09:57, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> 512 * 2^32 bytes equals 2 tebibytes.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  disk/part_efi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

(stupid disk manufacturers :-)
Tom Rini Sept. 22, 2020, 8:49 p.m. UTC | #2
On Thu, Sep 17, 2020 at 05:57:21PM +0200, Heinrich Schuchardt wrote:

> 512 * 2^32 bytes equals 2 tebibytes.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/disk/part_efi.c b/disk/part_efi.c
index de3491821f..60b1c1d761 100644
--- a/disk/part_efi.c
+++ b/disk/part_efi.c
@@ -7,7 +7,7 @@ 
 /*
  * NOTE:
  *   when CONFIG_SYS_64BIT_LBA is not defined, lbaint_t is 32 bits; this
- *   limits the maximum size of addressable storage to < 2 Terra Bytes
+ *   limits the maximum size of addressable storage to < 2 tebibytes
  */
 #include <common.h>
 #include <blk.h>