diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2020-03-12 08:46:27 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-13 07:53:31 +0300 |
commit | 0cfe49ad63f1b31ffcc5345b53e32017cce5357a (patch) | |
tree | bdb0a1fa16032d06c2160a9977c04cf77b7e9b99 /lib/utils/libfdt | |
parent | 4b2f594b855176c828540c3356b0a94beb86f161 (diff) | |
download | opensbi-0cfe49ad63f1b31ffcc5345b53e32017cce5357a.tar.xz |
libfdt: Add INT32_MAX and UINT32_MAX in libfdt_env.h
Add two macros in preparation to sync libfdt codes to latest v1.5.1
release from upstream.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'lib/utils/libfdt')
-rw-r--r-- | lib/utils/libfdt/libfdt_env.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/utils/libfdt/libfdt_env.h b/lib/utils/libfdt/libfdt_env.h index 535b637..415acff 100644 --- a/lib/utils/libfdt/libfdt_env.h +++ b/lib/utils/libfdt/libfdt_env.h @@ -57,6 +57,8 @@ #define INT_MAX ((int)(~0U >> 1)) #define UINT_MAX ((unsigned int)~0U) +#define INT32_MAX INT_MAX +#define UINT32_MAX UINT_MAX #ifdef __CHECKER__ #define FDT_FORCE __attribute__((force)) |