From: Ulf Samuelsson <ulfs@dof.se>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Adding new commands
Date: Mon, 16 Oct 2006 22:24:07 +0200 [thread overview]
Message-ID: <024001c6f163$46118f10$01c4af0a@atmel.com> (raw)
In-Reply-To: 20061016200628.E6AC6353DB7@atlas.denx.de
Wolfgang Denk wrote:
> In message <453368A1.5050407@dave-tech.it> you wrote:
>>
>> I have to add two new commands so I have to add something like this
>> to cmd_confdefs.h:
>>
>> #define CFG_CMD_NEW1 0x8000000000000000ULL
>> #define CFG_CMD_NEW2 ???
>>
>> IIUC we have 64 bits available for the commands and 63 commands are
>> already defined. So how to define more than 64 commands?
>
> We have to rework this whole configuration setup. At the moment I
> don't have a good and quick solution available.
>
You can always define a command outside the CFG_CMD in your board header
file.
Then you can do an #ifdef in the source file.
Best Regards,
Ulf Samuelsson
next prev parent reply other threads:[~2006-10-16 20:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-16 11:10 [U-Boot-Users] Adding new commands llandre
2006-10-16 11:48 ` Andreas Schweigstill
2006-10-16 18:09 ` Ulf Samuelsson
2006-10-16 20:06 ` Wolfgang Denk
2006-10-16 20:24 ` Ulf Samuelsson [this message]
2006-10-16 21:19 ` Wolfgang Denk
2006-10-16 20:45 ` Tolunay Orkun
2006-10-17 7:19 ` llandre
2006-10-17 9:57 ` Brent Cook
2006-10-17 10:35 ` llandre
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='024001c6f163$46118f10$01c4af0a@atmel.com' \
--to=ulfs@dof.se \
--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