Add hardware buttons, cpu booting, tsec booting.

This commit is contained in:
nwert
2018-03-15 12:26:19 +13:00
parent 6f6683e05b
commit 10b4b7d1cb
17 changed files with 1822 additions and 58 deletions

13
hwinit/btn.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef _BTN_H_
#define _BTN_H_
#include "types.h"
#define BTN_POWER 0x1
#define BTN_VOL_DOWN 0x2
#define BTN_VOL_UP 0x4
u32 btn_read();
u32 btn_wait();
#endif