diff options
Diffstat (limited to 'chip/mec1322/system.c')
-rw-r--r-- | chip/mec1322/system.c | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/chip/mec1322/system.c b/chip/mec1322/system.c index 09d3cd1b26..276803289b 100644 --- a/chip/mec1322/system.c +++ b/chip/mec1322/system.c @@ -17,12 +17,7 @@ #include "util.h" -#define DUMMY(x) x {} -#define DUMMY_int(x) x { return 0; } -DUMMY(void system_hibernate(uint32_t seconds, uint32_t microseconds)); -DUMMY_int(int system_get_vbnvcontext(uint8_t *block)); -DUMMY_int(int system_set_vbnvcontext(const uint8_t *block)); void system_pre_init(void) { @@ -72,3 +67,18 @@ const char *system_get_chip_revision(void) buf[2] = '\0'; return buf; } + +int system_get_vbnvcontext(uint8_t *block) +{ + return EC_ERROR_UNIMPLEMENTED; +} + +int system_set_vbnvcontext(const uint8_t *block) +{ + return EC_ERROR_UNIMPLEMENTED; +} + +void system_hibernate(uint32_t seconds, uint32_t microseconds) +{ + /* TODO(crosbug.com/p/24107): Implement this */ +} |