Add coldboot mmio init (for non 4.x), required for FLOW writes to succeed.

This commit is contained in:
Michael Scire
2018-03-02 12:45:37 -08:00
parent e7e62ef90b
commit 3388198a26
3 changed files with 38 additions and 1 deletions

View File

@@ -12,6 +12,8 @@ static inline uintptr_t get_timers_base(void) {
#define TIMERS_BASE (get_timers_base())
#define MAKE_TIMERS_REG(n) (*((volatile uint32_t *)(TIMERS_BASE + n)))
#define TIMERUS_CNTR_1US_0 (*((volatile uint32_t *)(TIMERS_BASE + 0x10)))
typedef struct {