[U-Boot] SPL Framework: Add support for U_BOOT_CMD

Tom Rini tom.rini at gmail.com
Wed Jan 25 20:03:50 CET 2012


On Wed, Jan 25, 2012 at 11:55 AM, Scott Wood <scottwood at freescale.com> wrote:
> On 01/25/2012 12:19 PM, Tom Rini wrote:
>> Maybe we should poke <command.h> to nop out U_BOOT_CMD for
>> CONFIG_SPL_BUILD?  OTOH, #ifndef'ing U_BOOT_CMD and the code itself
>> gets us a space savings we wouldn't get otherwise (I suspect giving
>> the MTD/NAND issue I've mentioned before)...
>
> Commands should be stripped out already with the new SPL -- that's what
> the (unfortunately uncommented) sed command in GEN_UBOOT appears to be
> doing.

Ah that's right.  Should be easy enough to test on say beagleboard,
along with a patch to make <commands.h> do the right thing.

-- 
Tom


More information about the U-Boot mailing list