summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/system-imx233.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx233/system-imx233.c')
-rw-r--r--firmware/target/arm/imx233/system-imx233.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/system-imx233.c b/firmware/target/arm/imx233/system-imx233.c
index 5298f7cff9..d5ed7fc774 100644
--- a/firmware/target/arm/imx233/system-imx233.c
+++ b/firmware/target/arm/imx233/system-imx233.c
@@ -197,6 +197,13 @@ void system_init(void)
197#endif 197#endif
198} 198}
199 199
200void system_prepare_fw_start(void)
201{
202 /* keep alive to get enough time, stop watchdog */
203 imx233_keep_alive();
204 imx233_rtc_enable_watchdog(false);
205}
206
200bool imx233_us_elapsed(uint32_t ref, unsigned us_delay) 207bool imx233_us_elapsed(uint32_t ref, unsigned us_delay)
201{ 208{
202 uint32_t cur = HW_DIGCTL_MICROSECONDS; 209 uint32_t cur = HW_DIGCTL_MICROSECONDS;