From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from zimbra2.kalray.eu ([92.103.151.219]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxnjL-0006xc-Bc for barebox@lists.infradead.org; Tue, 21 Jul 2020 08:34:32 +0000 Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id 76C8627E04F6 for ; Tue, 21 Jul 2020 10:34:27 +0200 (CEST) From: Jules Maselbas Date: Tue, 21 Jul 2020 10:34:00 +0200 Message-Id: <20200721083401.31880-1-jmaselbas@kalray.eu> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 1/2] ratp: Abort console_countdown when activated To: Barebox List Cc: Jules Maselbas Signed-off-by: Jules Maselbas --- 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 #include #include +#include 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