[coreboot-gerrit] Change in coreboot[master]: drivers/spi_flash: Add page_size to struct spi_flash
Furquan Shaikh (Code Review)
gerrit at coreboot.org
Tue May 16 10:17:01 CEST 2017
Furquan Shaikh has uploaded a new patch set (#2). ( https://review.coreboot.org/19704 )
Change subject: drivers/spi_flash: Add page_size to struct spi_flash
......................................................................
drivers/spi_flash: Add page_size to struct spi_flash
Add a new member page_size to spi_flash structure so that the various
spi flash drivers can store this info in spi_flash along with the
other sizes (sector size and total size) during flash probe. This
removes the need to have {driver}_spi_flash structure in every spi
flash driver.
This is part of patch series to clean up the SPI flash and SPI driver
interface.
BUG=b:38330715
Change-Id: I0f83e52cb1041432b0b575a8ee3bd173cc038d1f
Signed-off-by: Furquan Shaikh <furquan at chromium.org>
---
M src/drivers/spi/adesto.c
M src/drivers/spi/amic.c
M src/drivers/spi/atmel.c
M src/drivers/spi/eon.c
M src/drivers/spi/gigadevice.c
M src/drivers/spi/macronix.c
M src/drivers/spi/spansion.c
M src/drivers/spi/sst.c
M src/drivers/spi/stmicro.c
M src/drivers/spi/winbond.c
M src/include/spi_flash.h
M src/soc/intel/common/block/fast_spi/fast_spi_flash.c
12 files changed, 162 insertions(+), 305 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/04/19704/2
--
To view, visit https://review.coreboot.org/19704
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I0f83e52cb1041432b0b575a8ee3bd173cc038d1f
Gerrit-PatchSet: 2
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Furquan Shaikh <furquan at google.com>
More information about the coreboot-gerrit
mailing list