SECURE_BOOT: Use default bootargs
[oweals/u-boot.git] / arch / sandbox / cpu / state.c
index 7e5d03e8460bf945b40577bd40c4b9cb3fd85fbf..d2a7dc9b450f8845811c9575a5731b0557c959c0 100644 (file)
@@ -337,6 +337,20 @@ struct sandbox_state *state_get_current(void)
        return state;
 }
 
+void state_set_skip_delays(bool skip_delays)
+{
+       struct sandbox_state *state = state_get_current();
+
+       state->skip_delays = skip_delays;
+}
+
+bool state_get_skip_delays(void)
+{
+       struct sandbox_state *state = state_get_current();
+
+       return state->skip_delays;
+}
+
 int state_init(void)
 {
        state = &main_state;