blob: 68281f43576b967ee915a0610bb48ff77a124ea1 [file] [log] [blame]
/*
* Copyright 2012 Google Inc.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but without any warranty; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <libpayload.h>
#include <vb2_api.h>
uint32_t vb2ex_mtime(void)
{
return timer_us(0) / USECS_PER_MSEC;
}
void vb2ex_msleep(uint32_t msec)
{
mdelay(msec);
}