diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2024-02-19 09:31:34 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2024-02-20 11:46:30 +0100 |
commit | 9946237b7152b3d0bf651847e279fb1c8a247694 (patch) | |
tree | 52fa961a63c076ce2c020eccfed19c5034968f3f | |
parent | 1428b9259ed5b6c83e68e073e711ea248d67adf1 (diff) | |
download | barebox-9946237b7152.tar.gz barebox-9946237b7152.tar.xz |
linux/sizes.h: add more defines
Update linux/sizes.h from Linux to get Terabyte defines.
Link: https://lore.barebox.org/20240219083140.2713047-7-s.hauer@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | include/linux/sizes.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/sizes.h b/include/linux/sizes.h index 1d222daeab..08fe344bc4 100644 --- a/include/linux/sizes.h +++ b/include/linux/sizes.h @@ -50,5 +50,17 @@ #define SZ_8G _AC(0x200000000, ULL) #define SZ_16G _AC(0x400000000, ULL) #define SZ_32G _AC(0x800000000, ULL) +#define SZ_64G _AC(0x1000000000, ULL) +#define SZ_128G _AC(0x2000000000, ULL) +#define SZ_256G _AC(0x4000000000, ULL) +#define SZ_512G _AC(0x8000000000, ULL) + +#define SZ_1T _AC(0x10000000000, ULL) +#define SZ_2T _AC(0x20000000000, ULL) +#define SZ_4T _AC(0x40000000000, ULL) +#define SZ_8T _AC(0x80000000000, ULL) +#define SZ_16T _AC(0x100000000000, ULL) +#define SZ_32T _AC(0x200000000000, ULL) +#define SZ_64T _AC(0x400000000000, ULL) #endif /* __LINUX_SIZES_H__ */ |