mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] ratp: Abort console_countdown when activated
@ 2020-07-21  8:34 Jules Maselbas
  2020-07-21  8:34 ` [PATCH 2/2] ratp: Remove duplicated includes Jules Maselbas
  2020-08-03 21:23 ` [PATCH 1/2] ratp: Abort console_countdown when activated Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Jules Maselbas @ 2020-07-21  8:34 UTC (permalink / raw)
  To: Barebox List; +Cc: Jules Maselbas

Signed-off-by: Jules Maselbas <jmaselbas@kalray.eu>
---
 common/ratp/ratp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/common/ratp/ratp.c b/common/ratp/ratp.c
index e84ad2216..d06a7ca96 100644
--- a/common/ratp/ratp.c
+++ b/common/ratp/ratp.c
@@ -30,6 +30,7 @@
 #include <linux/sizes.h>
 #include <ratp_bb.h>
 #include <fs.h>
+#include <console_countdown.h>
 
 LIST_HEAD(ratp_command_list);
 EXPORT_SYMBOL(ratp_command_list);
@@ -458,6 +459,8 @@ int barebox_ratp(struct console_device *cdev)
 	if (ret)
 		goto out1;
 
+	console_countdown_abort();
+
 	console_set_active(&ctx->ratp_console, CONSOLE_STDOUT | CONSOLE_STDERR |
 			CONSOLE_STDIN);
 
-- 
2.17.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-03 21:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-21  8:34 [PATCH 1/2] ratp: Abort console_countdown when activated Jules Maselbas
2020-07-21  8:34 ` [PATCH 2/2] ratp: Remove duplicated includes Jules Maselbas
2020-08-03 21:23 ` [PATCH 1/2] ratp: Abort console_countdown when activated Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox