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>
This commit is contained in:
Aaron Durbin 2015-03-28 10:35:29 -05:00 committed by Aaron Durbin
parent b7cf11573d
commit 910a00dc30
2 changed files with 7 additions and 1 deletions

View File

@ -23,8 +23,9 @@
#define CAR_GLOBAL
#define CAR_MIGRATE(migrate_fn_)
static inline void car_migrate_variables(void) {}
static inline void *car_get_var_ptr(void *var) { return var; }
#define car_get_var(var) (var)
#define car_sync_var(var) (var)
#define car_set_var(var, val) { (var) = (val); }
#endif /* __MIPS_ARCH_EARLY_VARIABLES_H */

View File

@ -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 */