diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2013-09-23 10:02:00 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-09-24 09:22:50 +0200 |
commit | 651a23a69e598658e05e9e55d390db3a3f2a738a (patch) | |
tree | 14dd52470e7886e91e20459ff9c01eaeaabdc5b6 /common/console_simple.c | |
parent | 770e1a4d630b08dc465cf93638635295ffbe0343 (diff) | |
download | barebox-651a23a69e598658e05e9e55d390db3a3f2a738a.tar.gz barebox-651a23a69e598658e05e9e55d390db3a3f2a738a.tar.xz |
console_simple: fix: set f_active
so generic code can check if the console is enabled
and now we can use loadb & loadxy
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/console_simple.c')
-rw-r--r-- | common/console_simple.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/console_simple.c b/common/console_simple.c index 202d2442f7..5ab937fdb7 100644 --- a/common/console_simple.c +++ b/common/console_simple.c @@ -87,6 +87,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; |