On Wed, Sep 30, 2009 at 02:22:09PM -0500, Tom wrote:
> John Rigby wrote:
>>  @@ -494,13 +600,16 @@ U_BOOT_CMD(nand, CONFIG_SYS_MAXARGS, 1, do_nand,
>>      "nand write - addr off|partition size\n"
>>      "    read/write 'size' bytes starting at offset 'off'\n"
>>      "    to/from memory address 'addr', skipping bad blocks.\n"
>> +    "     .oob - reads/writes oob only.\n"
>> +    "     .raw - reads/writes both main and oob with no error\n"
>> +    "            detection or correction\n"
>
> Writing the oob area directly is UNSAFE.
> Having done to myself, it was a pain to undo.
> You should put at least document that.

If we warn about oob being unsafe, the same warning should be made for
raw.

-Scott
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to