On Tuesday 07 July 2009 03:14:46 Prafulla Wadaskar wrote:
> Next- I want to support "protect off/on" commands for Macronix-SF, but I
> could not see framework for the same in SF generic code, any
> pointers/guidelines/reference for this activity?

should be straightforward to add it like other commands in sf.  add "protect" 
to cmd_sf.c:do_spi_flash() which calls (the new function) 
cmd_sf.c:do_spi_flash_erase() which calls (the new function) 
drivers/mtd/spi/spi_flash.c:spi_flash_cmd_erase() ...
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to