- nuvoton: add expire function for generic reset (Jim)
- handle watchdogs during keyed autoboot (Rasmus)
- cyclic: Don't disable cylic function upon exceeding CPU time (Stefan)
- ulp wdog: Updates to support iMX93 and DM (Alice)
This commit is contained in:
Tom Rini
2022-10-26 07:45:55 -04:00
14 changed files with 303 additions and 44 deletions

View File

@@ -130,6 +130,23 @@ void os_exit(int exit_code)
exit(exit_code);
}
unsigned int os_alarm(unsigned int seconds)
{
return alarm(seconds);
}
void os_set_alarm_handler(void (*handler)(int))
{
if (!handler)
handler = SIG_DFL;
signal(SIGALRM, handler);
}
void os_raise_sigalrm(void)
{
raise(SIGALRM);
}
int os_write_file(const char *fname, const void *buf, int size)
{
int fd;

View File

@@ -27,6 +27,12 @@
};
};
alarm_wdt: alarm-wdt {
compatible = "sandbox,alarm-wdt";
timeout-sec = <5>;
u-boot,autostart;
};
audio: audio-codec {
compatible = "sandbox,audio-codec";
#sound-dai-cells = <1>;