armcm_timer: Unify udelay() implementation

Move the udelay() code from various arm board directories into the
src/generic/armcm_timer.c code.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2019-06-09 20:26:30 -04:00
parent 97840f9851
commit 700e35c6ac
10 changed files with 24 additions and 42 deletions

View File

@@ -18,6 +18,4 @@ int is_enabled_pclock(uint32_t pclk);
void enable_pclock(uint32_t pclk);
void gpio_peripheral(uint32_t gpio, int func, int pullup);
void udelay(uint32_t usecs);
#endif // internal.h