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:
8
src/generic/armcm_timer.h
Normal file
8
src/generic/armcm_timer.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef __GENERIC_ARMCM_TIMER_H
|
||||
#define __GENERIC_ARMCM_TIMER_H
|
||||
|
||||
#include <stdint.h> // uint32_t
|
||||
|
||||
void udelay(uint32_t usecs);
|
||||
|
||||
#endif // serial_irq.h
|
||||
Reference in New Issue
Block a user