From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] remove (double) LED initialization in arm920t start.s
Date: Thu, 23 Dec 2010 16:05:13 +0100 [thread overview]
Message-ID: <20101223150513.9F3DB152437@gemini.denx.de> (raw)
In-Reply-To: <4D134C08.8090609@emk-elektronik.de>
Dear Reinhard Meyer,
In message <4D134C08.8090609@emk-elektronik.de> you wrote:
>
> > Keep the existing code, and just turn the current set of numbers into
> > an enum.
>
> What current code?
I meant the existing show_boot_progress() code.
> 1. show_boot_progress() is quite close, but has hundreds of values...
> Not sure a enum would be useful there, the values have gaps; rather an
> errno.h like implementation makes sense there.
I think it's just an implementation detail wether you use an enum or
#defines here.
> 2. the LED current code (in some non-ARM) places
> has LED types (BOOT, ...) and LED modes (OFF, BLINK, ON).
> That is totally different and quite useless for seven segment and
> simple LCDisplays.
Right.
Note that there is more code when it comes to seven segment and
character based LCD displays - please see doc/README.LED_display,
include/led-display.h, common/cmd_display.c and
drivers/misc/pdsp188x.c on one side, or the highly board specific
display code using the same framework in board/a4m072/a4m072.c on the
other side.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The main thing is the play itself. I swear that greed for money has
nothing to do with it, although heaven knows I am sorely in need of
money. - Feodor Dostoyevsky
next prev parent reply other threads:[~2010-12-23 15:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-18 12:08 [U-Boot] [PATCH] remove (double) LED initialization in arm920t start.s Jens Scharsig
2010-12-23 11:58 ` Andreas Bießmann
2010-12-23 12:29 ` Reinhard Meyer
2010-12-23 12:51 ` Wolfgang Denk
2010-12-23 13:18 ` Reinhard Meyer
2010-12-23 15:05 ` Wolfgang Denk [this message]
2010-12-23 16:17 ` Jens Scharsig
2011-01-20 20:56 ` Albert ARIBAUD
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=20101223150513.9F3DB152437@gemini.denx.de \
--to=wd@denx.de \
--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