File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -202,11 +202,6 @@ static int __abortboot(int bootdelay)
202
202
if (!abort )
203
203
debug_bootkeys ("key timeout\n" );
204
204
205
- #ifdef CONFIG_SILENT_CONSOLE
206
- if (abort )
207
- gd -> flags &= ~GD_FLG_SILENT ;
208
- #endif
209
-
210
205
return abort ;
211
206
}
212
207
@@ -263,18 +258,22 @@ static int __abortboot(int bootdelay)
263
258
264
259
putc ('\n' );
265
260
266
- #ifdef CONFIG_SILENT_CONSOLE
267
- if (abort )
268
- gd -> flags &= ~GD_FLG_SILENT ;
269
- #endif
270
-
271
261
return abort ;
272
262
}
273
263
# endif /* CONFIG_AUTOBOOT_KEYED */
274
264
275
265
static int abortboot (int bootdelay )
276
266
{
277
- return __abortboot (bootdelay );
267
+ int abort ;
268
+
269
+ abort = __abortboot (bootdelay );
270
+
271
+ #ifdef CONFIG_SILENT_CONSOLE
272
+ if (abort )
273
+ gd -> flags &= ~GD_FLG_SILENT ;
274
+ #endif
275
+
276
+ return abort ;
278
277
}
279
278
280
279
static void process_fdt_options (const void * blob )
You can’t perform that action at this time.
0 commit comments