summaryrefslogtreecommitdiff
path: root/src/arch/mips/include/stdint.h
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-03-28 10:35:29 -0500
committerAaron Durbin <adurbin@google.com>2015-03-28 16:44:24 +0100
commit910a00dc30c28a667e7064961107ff4483d739e1 (patch)
treeeac56fb33d7b9468fd03387316ddc61f0b6a9bd9 /src/arch/mips/include/stdint.h
parentb7cf11573d51d277809649f748b796f103fa98dc (diff)
mips: fix API expectations that break builds
Add the approrpiate car* empty implementations as well as types included within the rest of coreboot to start building correctly. Change-Id: Ifaf10281f9a9e28f518f4694630cbffa3f8d187d Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/9150 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/arch/mips/include/stdint.h')
-rw-r--r--src/arch/mips/include/stdint.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/mips/include/stdint.h b/src/arch/mips/include/stdint.h
index 5c21fe6742..5095fa8c9f 100644
--- a/src/arch/mips/include/stdint.h
+++ b/src/arch/mips/include/stdint.h
@@ -94,6 +94,11 @@ typedef int8_t s8;
typedef int16_t s16;
typedef int32_t s32;
+typedef uint8_t bool;
+#define true 1
+#define false 0
+
+
#undef __HAVE_LONG_LONG__
#endif /* __MIPS_STDINT_H */