From: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/1] at91: Add command to control up to 3 GPIO LEDs from the console
Date: Fri, 08 May 2009 07:37:31 +0200 [thread overview]
Message-ID: <4A03C51B.7050404@esd.eu> (raw)
In-Reply-To: <20090507073232.C075583420E8@gemini.denx.de>
Wolfgang Denk schrieb:
> Dear Daniel Gorsulowski,
>
> In message <4A02792B.8060102@esd.eu> you wrote:
>>> Ummm... common is for, well, for >>common<< stuff. If this code is
>>> specific to AT91 only, it should not go into common.
>>>
>> IMHO this code is not specific to AT91 only. Well, other architectures does not
>> support the CONFIG_CMD_LED yet, but they could be implemented later.
>
> This is not quite correct. Actually several boards already support
> this, or very similar functions:
>
> board/amcc/taihu/taihu.c:static int do_led_ctl(cmd_tbl_t* cmd_tp, int flags, int argc, char *argv[])
> board/amcc/taishan/lcd.c:static int do_led_test_off(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
> board/amcc/taishan/lcd.c:static int do_led_test_on(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
> board/cm5200/cmd_cm5200.c:int do_led(char *argv[])
> board/pcs440ep/pcs440ep.c:int do_led (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
> board/pn62/cmd_pn62.c:int do_led (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
> board/tqc/tqm5200/cmd_stk52xx.c:int do_led(char *argv[])
> board/trab/trab_fkt.c:int do_led (char **);
> board/trab/trab_fkt.c:int do_led (char **argv)
>
Can you tell me a better place for at91 specific code?
I think lib_arm is not the proper place for it. I meant to place it in
arm926ejs/at91, what do you mean?
>
...
>
> Best regards,
>
> Wolfgang Denk
>
Best regards,
Daniel Gorsulowski
next prev parent reply other threads:[~2009-05-08 5:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-06 14:21 [U-Boot] [PATCH 1/1] at91: Add command to control up to 3 GPIO LEDs from the console Daniel Gorsulowski
2009-05-06 20:37 ` Wolfgang Denk
2009-05-06 20:40 ` Mike Frysinger
2009-05-07 6:01 ` Daniel Gorsulowski
2009-05-07 7:32 ` Wolfgang Denk
2009-05-08 5:37 ` Daniel Gorsulowski [this message]
2009-05-07 6:31 ` Stefan Roese
2009-05-08 5:28 ` Daniel Gorsulowski
2009-05-08 6:21 ` Stefan Roese
2009-05-14 8:49 ` Daniel Gorsulowski
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=4A03C51B.7050404@esd.eu \
--to=daniel.gorsulowski@esd.eu \
--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