mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fix compile error when set CONFIG_CONSOLE_SIMPLE=y
@ 2019-10-03 13:52 iu87m888m
  2019-10-14 12:05 ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: iu87m888m @ 2019-10-03 13:52 UTC (permalink / raw)
  To: barebox; +Cc: DU HUANPENG

From: DU HUANPENG <u74147@gmail.com>

Signed-off-by: DU HUANPENG <u74147@gmail.com>
---
 common/console_simple.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/common/console_simple.c b/common/console_simple.c
index 385da2f..010e0b3 100644
--- a/common/console_simple.c
+++ b/common/console_simple.c
@@ -65,6 +65,9 @@ void console_flush(void)
 EXPORT_SYMBOL(console_flush);
 
 #ifndef ARCH_HAS_CTRLC
+void ctrlc_handled(void)
+{
+}
 /* test if ctrl-c was pressed */
 int ctrlc (void)
 {
@@ -73,6 +76,15 @@ int ctrlc (void)
 	return 0;
 }
 EXPORT_SYMBOL(ctrlc);
+
+void console_ctrlc_allow(void)
+{
+}
+
+void console_ctrlc_forbid(void)
+{
+}
+
 #endif /* ARCH_HAS_CTRC */
 
 int console_register(struct console_device *newcdev)
-- 
2.7.4




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

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

* Re: [PATCH] fix compile error when set CONFIG_CONSOLE_SIMPLE=y
  2019-10-03 13:52 [PATCH] fix compile error when set CONFIG_CONSOLE_SIMPLE=y iu87m888m
@ 2019-10-14 12:05 ` Sascha Hauer
  2019-10-15 16:25   ` duhuanpeng
  0 siblings, 1 reply; 3+ messages in thread
From: Sascha Hauer @ 2019-10-14 12:05 UTC (permalink / raw)
  To: iu87m888m; +Cc: barebox, DU HUANPENG

On Thu, Oct 03, 2019 at 09:52:12PM +0800, iu87m888m@qq.com wrote:
> From: DU HUANPENG <u74147@gmail.com>
> 
> Signed-off-by: DU HUANPENG <u74147@gmail.com>
> ---
>  common/console_simple.c | 12 ++++++++++++
>  1 file changed, 12 insertions(+)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

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

* Re: [PATCH] fix compile error when set CONFIG_CONSOLE_SIMPLE=y
  2019-10-14 12:05 ` Sascha Hauer
@ 2019-10-15 16:25   ` duhuanpeng
  0 siblings, 0 replies; 3+ messages in thread
From: duhuanpeng @ 2019-10-15 16:25 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox, DU HUANPENG

Hi, my patch didn't work with sanbox. maybe I missed understand
the macro
	ARCH_HAS_CTRLC
I will fix it and send a new patch soon.

sorry.
du huanpeng




_______________________________________________
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:[~2019-10-15 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-03 13:52 [PATCH] fix compile error when set CONFIG_CONSOLE_SIMPLE=y iu87m888m
2019-10-14 12:05 ` Sascha Hauer
2019-10-15 16:25   ` duhuanpeng

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