summaryrefslogtreecommitdiff
path: root/common/ratp/ratp.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/ratp/ratp.c')
-rw-r--r--common/ratp/ratp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/ratp/ratp.c b/common/ratp/ratp.c
index b8043fe5c7..5d1c6cc3e9 100644
--- a/common/ratp/ratp.c
+++ b/common/ratp/ratp.c
@@ -27,6 +27,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);
@@ -473,6 +474,8 @@ int barebox_ratp(struct console_device *cdev)
ctx->poller_registered = true;
+ console_countdown_abort();
+
console_set_active(&ctx->ratp_console, CONSOLE_STDOUT | CONSOLE_STDERR |
CONSOLE_STDIN);