[U-Boot-Users] Adding new commands
Ulf Samuelsson
ulfs at dof.se
Mon Oct 16 22:24:07 CEST 2006
Wolfgang Denk wrote:
> In message <453368A1.5050407 at 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
More information about the U-Boot
mailing list