From: Wolfgang Denk Date: Wed, 16 Feb 2011 22:00:00 +0100 Subject: [U-Boot] [PATCH 1/2] SPI: Add struct spi_flash.sector_size parameter In-Reply-To: <1297888074-8344-2-git-send-email-RichardRetanubun@RuggedCom.com> References: <201102150434.39422.vapier@gentoo.org> <1297888074-8344-2-git-send-email-RichardRetanubun@RuggedCom.com> Message-ID: <20110216210000.2B7951519FE@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 Richard Retanubun, In message <1297888074-8344-2-git-send-email-RichardRetanubun@RuggedCom.com> you wrote: > This patch adds a new member to struct spi_flash (u16 sector_size) > and updates the spi flash drivers to start populating it. > > This parameter can be used by spi flash commands that need to round > up units of operation to the flash's sector_size. > --- > drivers/mtd/spi/atmel.c | 1 + > drivers/mtd/spi/macronix.c | 1 + > drivers/mtd/spi/spansion.c | 4 ++-- > drivers/mtd/spi/sst.c | 3 ++- > drivers/mtd/spi/stmicro.c | 4 ++-- > drivers/mtd/spi/winbond.c | 5 +++-- > include/spi_flash.h | 2 ++ > 7 files changed, 13 insertions(+), 7 deletions(-) Rejected - Signed-off-by: line missing. 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 God made the integers; all else is the work of Man. - Kronecker