summaryrefslogtreecommitdiffstats
path: root/common/ratp
diff options
context:
space:
mode:
Diffstat (limited to 'common/ratp')
-rw-r--r--common/ratp/ratp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/ratp/ratp.c b/common/ratp/ratp.c
index 84910cacb7..424c9406d2 100644
--- a/common/ratp/ratp.c
+++ b/common/ratp/ratp.c
@@ -15,11 +15,9 @@
#include <common.h>
#include <command.h>
-#include <kfifo.h>
#include <malloc.h>
#include <init.h>
#include <ratp.h>
-#include <command.h>
#include <byteorder.h>
#include <environment.h>
#include <kfifo.h>
@@ -28,6 +26,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);
@@ -502,6 +501,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);