diff options
Diffstat (limited to 'firmware/stub/vboot_api_stub_init.c')
-rw-r--r-- | firmware/stub/vboot_api_stub_init.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/firmware/stub/vboot_api_stub_init.c b/firmware/stub/vboot_api_stub_init.c deleted file mode 100644 index 80684126..00000000 --- a/firmware/stub/vboot_api_stub_init.c +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - * - * Stub implementations of firmware-provided API functions. - */ - -#include <stdarg.h> -#include <stdint.h> -#include <stdlib.h> -#include <sys/time.h> - -#include "2common.h" -#include "vboot_api.h" - -__attribute__((weak)) -uint32_t vb2ex_mtime(void) -{ - struct timeval tv; - gettimeofday(&tv, NULL); - return tv.tv_sec * VB2_MSEC_PER_SEC + tv.tv_usec / VB2_USEC_PER_MSEC; -} |