public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Hannes Schmelzer <hannes@schmelzer.or.at>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] LCD: Add an option to skip registration as an stdio output
Date: Tue, 01 Dec 2015 18:41:49 +0100	[thread overview]
Message-ID: <565DDBDD.5050202@schmelzer.or.at> (raw)
In-Reply-To: <20151119215434.3ec9102d@crub>

hi,

sorry i was absent a few days from u-boot (writing vxWorks drivers :-() ...

but, do we really need this ?

i had same problem on my b&r boards, were we printout something on lcd 
but console should remain on stdout/stdin.

what about:

int overwrite_console(void)
{
     return 1;
}

and activate
#define CONFIG_SYS_CONSOLE_IS_IN_ENV
#define CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE

should do the same i think.

best regards,
Hannes

On 2015-11-19 21:54, Anatolij Gustschin wrote:
> On Tue,  3 Nov 2015 11:14:49 -0500
> sayotte.tyco at gmail.com wrote:
>
>> From: Stephane Ayotte <sayotte@tycoint.com>
>>
>> This patch adds an option to skip the registration of LCD stdio ouput for
>> boards that want to show different text on LCD than on serial output (or
>> the active stdout selected by the environment variable).
>>
>> Signed-off-by: Stephane Ayotte <sayotte@tycoint.com>
>> ---
>>
>> This implementation is similar to what has been added to cfb_console.c by
>> Stefan Roese <sr@denx.de> per commit 6cc7ba9e on 05/15/2009
>>
>> I am sending this patch using <sayotte.tyco@gmail.com>
>> as our regular smtp server <sayotte@tycoint.com> causes patch issues.
>>
>>   common/lcd.c | 13 +++++++++++++
>>   1 file changed, 13 insertions(+)
> applied to u-boot-video/master, thanks!
>
> Anatolij
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
>

  reply	other threads:[~2015-12-01 17:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-03 16:14 [U-Boot] [PATCH] LCD: Add an option to skip registration as an stdio output sayotte.tyco at gmail.com
2015-11-19 13:41 ` Stephane Ayotte
2015-11-19 20:58   ` Anatolij Gustschin
2015-11-19 20:54 ` Anatolij Gustschin
2015-12-01 17:41   ` Hannes Schmelzer [this message]
2015-12-01 21:31     ` Ayotte, Stephane
2015-12-02  5:29       ` Hannes Schmelzer
2015-12-02 14:08         ` Ayotte, Stephane
2015-12-02 14:29           ` Hannes Schmelzer
2015-12-02 14:37           ` Anatolij Gustschin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=565DDBDD.5050202@schmelzer.or.at \
    --to=hannes@schmelzer.or.at \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox