From: Wolfgang Denk Date: Tue, 26 Jul 2011 16:29:38 +0200 Subject: [U-Boot] [PATCH 2/4 v2] sf: unify write funcs In-Reply-To: <1303750709-7976-1-git-send-email-vapier@gentoo.org> References: <1303635958-10985-2-git-send-email-vapier@gentoo.org> <1303750709-7976-1-git-send-email-vapier@gentoo.org> Message-ID: <20110726142938.80CAB138EED8@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, In message <1303750709-7976-1-git-send-email-vapier@gentoo.org> you wrote: > Once we add a new page_size field for write lengths, we can unify the > write methods for most of the spi flash drivers. > > Signed-off-by: Mike Frysinger > --- > v2 > - push page program command into common code too since all spi > flashes use the same one (0x02) > > drivers/mtd/spi/eon.c | 66 +------------------------------ > drivers/mtd/spi/macronix.c | 66 +------------------------------ > drivers/mtd/spi/spansion.c | 66 +------------------------------ > drivers/mtd/spi/spi_flash.c | 57 +++++++++++++++++++++++++++ > drivers/mtd/spi/spi_flash_internal.h | 8 ++++ > drivers/mtd/spi/stmicro.c | 66 +------------------------------ > drivers/mtd/spi/winbond.c | 71 +-------------------------------- > include/spi_flash.h | 5 ++- > 8 files changed, 80 insertions(+), 325 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The only person who always got his work done by Friday was Robinson Crusoe.