Wolfgang Denk wrote: > Good catch. Yes, this must be prevented. Any variable named "builtin" > must be ignored here - i. e. we should issue an erro when someone > tries a "setenv", and ignore this variable explicitly (just in case > someone sneaks this into the default environment, or uses un-fixed > Linux tools to create such a variable).
I know, I wanted to know which is the preferred method to avoid that. One way is to avoid to set the variable, as you suggest. The other way is never execute a variable with the name "builtin" in the command interpreter: "setenv builtin <something>" remains possible but "builtin <command>" calls always the U-Boot commands. Best regards, Stefano Babic -- stefano <[EMAIL PROTECTED]> GPG Key: 0x55814DDE Fingerprint 4E85 2A66 4CBA 497A 2A7B D3BF 5973 F216 5581 4DDE _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot