Initial commit.

This commit is contained in:
nwert
2018-03-07 14:11:46 +13:00
commit 6f6683e05b
26 changed files with 4159 additions and 0 deletions

15
hwinit/util.h Normal file
View File

@@ -0,0 +1,15 @@
#ifndef _UTIL_H_
#define _UTIL_H_
#include "types.h"
typedef struct _cfg_op_t
{
u32 off;
u32 val;
} cfg_op_t;
void sleep(u32 ticks);
void exec_cfg(u32 *base, const cfg_op_t *ops, u32 num_ops);
#endif