warmboot: add car_configure_oscillators

This commit is contained in:
Michael Scire
2018-12-17 14:18:04 -08:00
parent a94bee71d2
commit 0b15539479
4 changed files with 23 additions and 0 deletions

View File

@@ -20,6 +20,7 @@
#include "utils.h"
#define TIMERUS_CNTR_1US_0 MAKE_REG32(0x60005010)
#define TIMERUS_USEC_CFG_0 MAKE_REG32(0x60005014)
static inline void timer_wait(uint32_t microseconds) {
uint32_t old_time = TIMERUS_CNTR_1US_0;