
7 Jul
2009
7 Jul
'09
3:50 p.m.
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