[U-Boot] [PATCH] CRITICAL error in v2013.04-rc2 (true and false not working)

York Sun yorksun at freescale.com
Thu Apr 4 23:48:51 CEST 2013


On 04/04/2013 02:47 PM, Wolfgang Denk wrote:
> Dear York Sun,
> 
> In message <515DEED2.90908 at freescale.com> you wrote:
>>
>> Would this fix be acceptable?
> 
> No...
> 
>> +#ifdef true
>> +#undef true
>> +#undef false
>> +
>>  U_BOOT_CMD(
>>         false,  CONFIG_SYS_MAXARGS,     1,      do_false,
>>         "do nothing, unsuccessfully",
>> @@ -171,3 +175,5 @@ U_BOOT_CMD(
>>         "do nothing, successfully",
>>         NULL
>>  );
>> +
>> +#endif
> 
> ... as it would completely remove the command entries if "true" was
> not defined.
> 

Right. I will go with Tom's suggestion.

York





More information about the U-Boot mailing list