From: Ulf Samuelsson Date: Mon, 16 Oct 2006 22:24:07 +0200 Subject: [U-Boot-Users] Adding new commands References: <20061016200628.E6AC6353DB7@atlas.denx.de> Message-ID: <024001c6f163$46118f10$01c4af0a@atmel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.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