coreboot/src
Furquan Shaikh 73abf3130d UPSTREAM: drivers/spi/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: I1643c17f10226e943a3f94d4619f7e87f4b6777c
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Original-Commit-Id: fc1a123aa7
Original-Change-Id: I0f83e52cb1041432b0b575a8ee3bd173cc038d1f
Original-Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/19704
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/509519
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
2017-05-22 19:31:17 -07:00
..
acpi
arch UPSTREAM: CBMEM: Add config CBMEM_TOP_BACKUP 2017-05-18 18:07:12 -07:00
commonlib UPSTREAM: commonlib: Move drivers/storage into commonlib/storage 2017-05-15 08:17:50 -07:00
console UPSTREAM: cbmem_console: Improve 'cbmem -1' behavior for truncated pre-CBMEM logs 2017-05-22 19:31:14 -07:00
cpu UPSTREAM: AMD MTRR: Add common add_uma_resource_below_tolm() 2017-05-18 18:07:12 -07:00
device UPSTREAM: lib/edid.c: Allow use of when not NGI 2017-05-07 07:41:12 -07:00
drivers UPSTREAM: drivers/spi/spi_flash: Add page_size to struct spi_flash 2017-05-22 19:31:17 -07:00
ec UPSTREAM: mb/lenovo/x201: Add support for ThinkLight 2017-05-15 08:17:44 -07:00
include UPSTREAM: drivers/spi/spi_flash: Add page_size to struct spi_flash 2017-05-22 19:31:17 -07:00
lib UPSTREAM: cbmem_console: Improve 'cbmem -1' behavior for truncated pre-CBMEM logs 2017-05-22 19:31:14 -07:00
mainboard UPSTREAM: mainboard/lenovo/t430: Add Thinkpad T430 support 2017-05-22 19:31:16 -07:00
northbridge UPSTREAM: nb/intel/sandybridge: Hide additional nb devices 2017-05-22 19:31:15 -07:00
soc UPSTREAM: drivers/spi/spi_flash: Add page_size to struct spi_flash 2017-05-22 19:31:17 -07:00
southbridge UPSTREAM: AGESA: Fix UMA calculations 2017-05-18 18:07:13 -07:00
superio UPSTREAM: superio/nuvoton: Make SuperIO config functions externally available 2017-05-15 08:17:43 -07:00
vboot UPSTREAM: vboot: Separate board name and version number in FWID with a dot 2017-05-02 20:24:01 -07:00
vendorcode UPSTREAM: vendorcode/intel/fsp/fsp2_0/glk: Add FSP header files for GLK 2017-05-15 08:17:48 -07:00
Kconfig UPSTREAM: commonlib: Move drivers/storage into commonlib/storage 2017-05-15 08:17:50 -07:00