[U-Boot] [PATCH 1/2] SPI: Add struct spi_flash.sector_size parameter
Wolfgang Denk
wd at denx.de
Wed Feb 16 22:00:00 CET 2011
Dear Richard Retanubun,
In message <1297888074-8344-2-git-send-email-RichardRetanubun at 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
More information about the U-Boot
mailing list