diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2013-09-16 14:27:17 -0700 |
---|---|---|
committer | Isaac Christensen <isaac.christensen@se-eng.com> | 2014-08-08 19:49:02 +0200 |
commit | 42b1c34f7ba94fe2a615e320e126fae10e8de521 (patch) | |
tree | 9e981100f0c93958020009f00b80c29fb403c0b3 /src | |
parent | 9ad28b940f74a17c88069816df1f20c0b03a9552 (diff) |
ARMv7: Add stdint types needed for vboot library
Change-Id: I778ea787b20a7d7d7b202b1b5e7f956d2fde6629
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: https://chromium-review.googlesource.com/169621
(cherry picked from commit 499a4802b5ad070a0b82f3b291073aa05fa7946e)
Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com>
Reviewed-on: http://review.coreboot.org/6523
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/armv7/include/stdint.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/arch/armv7/include/stdint.h b/src/arch/armv7/include/stdint.h index a8a023059a..9d41e6359a 100644 --- a/src/arch/armv7/include/stdint.h +++ b/src/arch/armv7/include/stdint.h @@ -75,6 +75,18 @@ typedef int8_t s8; typedef int16_t s16; typedef int32_t s32; +#ifndef UINT32_MAX +#define UINT32_MAX (4294967295U) +#endif +#ifndef UINT64_MAX +# define UINT64_MAX (18446744073709551615ULL) +#endif +#ifndef UINT64_C +#define UINT64_C(c) c ## ULL +#endif +#ifndef PRIu64 +#define PRIu64 "llu" +#endif #undef __HAVE_LONG_LONG__ |