Add custom panic driver
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "utils.h"
|
||||
#include "panic.h"
|
||||
#include "hwinit.h"
|
||||
#include "fuse.h"
|
||||
#include "se.h"
|
||||
@@ -67,6 +68,9 @@ static void setup_env(void) {
|
||||
/* TODO: What can be stripped out to make this minimal? */
|
||||
nx_hwinit();
|
||||
|
||||
/* Check for panics. */
|
||||
check_and_display_panic();
|
||||
|
||||
/* Try to load the SBK into the security engine, if possible. */
|
||||
/* TODO: Should this be done later? */
|
||||
load_sbk();
|
||||
|
||||
Reference in New Issue
Block a user