public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Pantelis Antoniou <panto@intracom.gr>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] Total5100 and Total5200 platform support
Date: Tue, 06 Jul 2004 10:16:58 +0300	[thread overview]
Message-ID: <40EA51EA.9070101@intracom.gr> (raw)
In-Reply-To: <20040706071921.1213CC109F@atlas.denx.de>

Wolfgang Denk wrote:

>Dear Pantelis,
>
>in message <40EA413B.1000407@intracom.gr> you wrote:
>
>>>I just learned that there are already other bad examples using such a
>>>"console" setting:
>>>
>>>File:				Board:		Maintainer:
>>>board/eltec/elppc/misc.c		ELPPC		Frank Gottschling
>>>board/netphone/phone_console.c	NETPHONE	Pantelis Antoniou
>>>drivers/cfb_console.c		?		Frank Gottschling
>>>
>...
>
>>Excuse me Wolfgang but what is the problem?
>>
>
>The  problem  is  that  the  files  listed  above  invented  a   new,
>non-standard  mechanism  for something which is already available and
>thus should be done in a different way.
>
>
>>In my board I don't use an extra console variable. I
>>just wait for a key sequence to enable the lcd console
>>which does use the standard u-boot mechanism.
>>
>>Have I missed something here?
>>
>
>See "board/netphone/phone_console.c":
>
>    ...
>    331         /*
>    332          * Force console i/o to serial ?
>    333          */
>    334         if ((penv = getenv("console")) != NULL && strcmp(penv, "serial") == 0)
>    335                 return 0;
>    ...
>
>Here you _do_ use an extra console variable.
>
Oops, you're correct.

I have forgotten about this because I don't actually use it anywhere.

Attached patch just kills this.

>
>Please get rid of this. Please the standard stdin / stdout  /  stderr
>(here probably stdout) settings for this.
>
>Best regards,
>
>Wolfgang Denk
>
>
Regards

Pantelis

-------------- next part --------------
A non-text attachment was scrubbed...
Name: console-kill.patch
Type: text/x-patch
Size: 428 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040706/855a5baf/attachment.bin 

  reply	other threads:[~2004-07-06  7:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-01 15:44 [U-Boot-Users] [PATCH] Total5100 and Total5200 platform support Mark Jonas
2004-07-05 13:07 ` Mark Jonas
2004-07-05 13:22   ` Wolfgang Denk
2004-07-06  6:05     ` Pantelis Antoniou
2004-07-06  7:19       ` Wolfgang Denk
2004-07-06  7:16         ` Pantelis Antoniou [this message]
2004-07-11 19:17 ` Wolfgang Denk

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=40EA51EA.9070101@intracom.gr \
    --to=panto@intracom.gr \
    --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