From: Mike Frysinger Date: Tue, 7 Jul 2009 09:50:19 -0400 Subject: [U-Boot] [PATCH v4][repost] sf: Macronix additional chips supported In-Reply-To: <73173D32E9439E4ABB5151606C3E19E202DD54DB5B@SC-VEXCH1.marvell.com> References: <73173D32E9439E4ABB5151606C3E19E202DD54DB5B@SC-VEXCH1.marvell.com> Message-ID: <200907070950.22068.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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