
4 Apr
2013
4 Apr
'13
11:48 p.m.
On 04/04/2013 02:47 PM, Wolfgang Denk wrote:
Dear York Sun,
In message 515DEED2.90908@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