[U-Boot] [PATCH v4][repost] sf: Macronix additional chips supported

Mike Frysinger vapier at gentoo.org
Tue Jul 7 15:50:19 CEST 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090707/38d5da7b/attachment.pgp 


More information about the U-Boot mailing list