Searched hist:"4 e6a515899290635bfd7fe3aef8c4d4d9e88fced" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/include/ |
| H A D | spi_flash.h | 4e6a515899290635bfd7fe3aef8c4d4d9e88fced Wed Feb 16 21:37:22 UTC 2011 Richard Retanubun <RichardRetanubun@ruggedcom.com> sf: add struct spi_flash.sector_size parameter
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.
Having this number in one place also allows duplicated code to be further collapsed into one common location (such as erase parameter and the detected message).
Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
| /rk3399_rockchip-uboot/drivers/mtd/spi/ |
| H A D | spi_flash.c | 4e6a515899290635bfd7fe3aef8c4d4d9e88fced Wed Feb 16 21:37:22 UTC 2011 Richard Retanubun <RichardRetanubun@ruggedcom.com> sf: add struct spi_flash.sector_size parameter
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.
Having this number in one place also allows duplicated code to be further collapsed into one common location (such as erase parameter and the detected message).
Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|