hv:move 'udelay' to timer.c

-- move this api from misc.c to timer.c to avoid
   reverse dependency, and remove misc.c

Tracked-On: #1842
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
This commit is contained in:
Mingqiang Chi
2019-03-21 14:06:22 +08:00
committed by wenlingz
parent 370998ba5a
commit 5585084c00
5 changed files with 15 additions and 22 deletions

View File

@@ -49,6 +49,8 @@ struct hv_timer {
#define CYCLES_PER_MS us_to_ticks(1000U)
void udelay(uint32_t us);
/**
* @brief convert us to ticks.
*