From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Status LEDs status?
Date: Mon, 09 Jun 2003 12:07:40 +0200 [thread overview]
Message-ID: <20030609100745.1B67EC5FD7@atlas.denx.de> (raw)
In-Reply-To: Your message of "Mon, 09 Jun 2003 12:26:11 +0300." <3EE452B3.8000603@intracom.gr>
Hi,
in message <3EE452B3.8000603@intracom.gr> you wrote:
>
> I face the following problem. In a new version of my
> board with a mpc850 the location of the status leds
> moved to an external register, instead of being on
> a CPU port.
>
> However the status LED code assumes that the LEDs
> are on a port.
That's because so far all boards where support for the status LED has
been enabled fall intot his group. Feel free to add your own version.
> As I scanned the other cpu directories I saw that
> the status led code is copied in each of them.
This is not correct. There is a "status_led.c" file only in the CPU
directories for 5xx, 8xx and 82xx CPUs. These are pretty similar as
far as the status LED is affected.
> I dont want to special case the status_led code with
> my board, so I'm inclined to make a new status led
> interface in the common or drivers directory.
I think this should go to drivers/ .
> IMHO the duplication of the status led code and it's
> placement in the cpu directory is not very intuitive.
But the current implementation is CPU dependend.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
Love sometimes expresses itself in sacrifice.
-- Kirk, "Metamorphosis", stardate 3220.3
next prev parent reply other threads:[~2003-06-09 10:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-09 9:26 [U-Boot-Users] Status LEDs status? Pantelis Antoniou
2003-06-09 10:07 ` Wolfgang Denk [this message]
2003-06-09 11:30 ` Pantelis Antoniou
2003-06-09 11:54 ` Wolfgang Denk
2003-06-09 12:18 ` Pantelis Antoniou
2003-06-09 20:49 ` Wolfgang Denk
2003-06-10 6:48 ` Pantelis Antoniou
2003-06-19 18:42 ` Wolfgang Denk
2003-06-10 6:49 ` Pantelis Antoniou
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=20030609100745.1B67EC5FD7@atlas.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