Skip to contentSkip to conversation

console_simple: fix: set f_active

PATCH Applied Jean-Christophe PLAGNIOL-VILLARD 2 participants 2 messages Sep 23, 2013 – Sep 24, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 console_simple: fix: set f_active

so generic code can check if the console is enabled

and now we can use loadb & loadxy

---
 common/console_simple.c | 2 ++
 1 file changed, 2 insertions(+)
common/console_simple.c +2 -0
index e82d9cb..0f83fa4 100644
@@ -97,6 +97,8 @@ int console_register(struct console_device *newcdev)
 		newcdev->setbrg(newcdev, newcdev->baudrate);
 	}
 
+	newcdev->f_active = CONSOLE_STDIN | CONSOLE_STDOUT | CONSOLE_STDERR;
+
 	barebox_banner();
 
 	return 0;
Signature · 7 lines
1.8.4.rc3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 5 lines · Jean-Christophe PLAGNIOL-VILLARD

so generic code can check if the console is enabled

and now we can use loadb & loadxy

Applied, thanks

Sascha

Quoted 26 lines
---
 common/console_simple.c | 2 ++
 1 file changed, 2 insertions(+)
common/console_simple.c +2 -0
index e82d9cb..0f83fa4 100644
@@ -97,6 +97,8 @@ int console_register(struct console_device *newcdev)
 		newcdev->setbrg(newcdev, newcdev->baudrate);
 	}
 
+	newcdev->f_active = CONSOLE_STDIN | CONSOLE_STDOUT | CONSOLE_STDERR;
+
 	barebox_banner();
 
 	return 0;
Signature · 7 lines
1.8.4.rc3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox