coreboot-kgpe-d16/src/soc/intel/broadwell
Furquan Shaikh de705fa1f4 drivers/spi: Re-factor spi_crop_chunk
spi_crop_chunk is a property of the SPI controller since it depends
upon the maximum transfer size that is supported by the
controller. Also, it is possible to implement this within spi-generic
layer by obtaining following parameters from the controller:

1. max_xfer_size: Maximum transfer size supported by the controller
(Size of 0 indicates invalid size, and unlimited transfer size is
indicated by UINT32_MAX.)

2. deduct_cmd_len: Whether cmd_len needs to be deducted from the
max_xfer_size to determine max data size that can be
transferred. (This is used by the amd boards.)

Change-Id: I81c199413f879c664682088e93bfa3f91c6a46e5
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/19386
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Tested-by: coreboot org <coreboot.org@gmail.com>
2017-05-05 23:42:19 +02:00
..
acpi broadwell: gpio.asl: Make GWAK method serialized 2016-01-21 02:25:30 +01:00
bootblock soc/intel: Unify timestamp.inc 2017-04-25 18:47:35 +02:00
include/soc soc/intel/broadwell: Fix other issues detected by checkpatch 2017-03-17 19:21:53 +01:00
romstage chromeos / broadwell / jecht: Make save_chromeos_gpios() jecht-specific 2017-03-28 22:16:24 +02:00
acpi.c soc/intel/broadwell: Fix spacing issues detected by checkpatch 2017-03-17 18:03:36 +01:00
adsp.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
chip.c soc/intel/broadwell: Add int to unsigned 2017-03-17 18:03:59 +01:00
chip.h Broadwell/Sata: Add support for setting IOBP registers for Ports 2 and 3. 2017-02-22 22:24:50 +01:00
cpu.c soc/intel/broadwell: Fix {}, () and conditional issues 2017-03-17 19:21:35 +01:00
cpu_info.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ehci.c soc/intel/broadwell: Add int to unsigned 2017-03-17 18:03:59 +01:00
elog.c soc/intel/broadwell: use common Intel ACPI hardware definitions 2016-07-15 08:32:49 +02:00
finalize.c broadwell: Fix CONFIG_SPI_CONSOLE usage 2015-12-27 17:42:46 +01:00
gpio.c soc/intel/broadwell: Add int to unsigned 2017-03-17 18:03:59 +01:00
hda.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
igd.c soc/intel/broadwell: Fix {}, () and conditional issues 2017-03-17 19:21:35 +01:00
iobp.c soc/intel/broadwell: Add int to unsigned 2017-03-17 18:03:59 +01:00
Kconfig vboot: Select SoC-specific configuration for all Chrome OS boards 2017-03-28 22:12:54 +02:00
lpc.c soc/intel/broadwell: Fix other issues detected by checkpatch 2017-03-17 19:21:53 +01:00
Makefile.inc cpu/intel/common: Add/Use common function to set virtualization 2016-12-27 02:30:08 +01:00
me.c soc/intel/broadwell: Fix other issues detected by checkpatch 2017-03-17 19:21:53 +01:00
me_status.c broadwell/me: Fix out-of-bounds array access error 2016-05-04 16:33:24 +02:00
memmap.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
minihd.c soc/broadwell: set EM4/EM5 registers based on cdclk 2016-12-07 23:54:14 +01:00
monotonic_timer.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pch.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pcie.c soc/intel/broadwell: Fix other issues detected by checkpatch 2017-03-17 19:21:53 +01:00
pei_data.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pmutil.c soc/intel/broadwell: Fix spacing issues detected by checkpatch 2017-03-17 18:03:36 +01:00
ramstage.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
refcode.c soc/intel/broadwell: Fix {}, () and conditional issues 2017-03-17 19:21:35 +01:00
reset.c soc/intel/broadwell: Fix spacing issues detected by checkpatch 2017-03-17 18:03:36 +01:00
sata.c intel/broadwell: Use the correct SATA port config for setting IOBP register 2017-03-02 09:21:55 +01:00
serialio.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
smbus.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
smbus_common.c soc/intel/broadwell: Fix {}, () and conditional issues 2017-03-17 19:21:35 +01:00
smi.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
smihandler.c soc/intel/broadwell: Fix other issues detected by checkpatch 2017-03-17 19:21:53 +01:00
smmrelocate.c soc/intel/broadwell: Fix other issues detected by checkpatch 2017-03-17 19:21:53 +01:00
spi.c drivers/spi: Re-factor spi_crop_chunk 2017-05-05 23:42:19 +02:00
stage_cache.c src/soc: Capitalize CPU, ACPI, RAM and ROM 2016-07-31 19:27:53 +02:00
systemagent.c soc/intel/broadwell: Fix {}, () and conditional issues 2017-03-17 19:21:35 +01:00
tsc_freq.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
usb_debug.c soc/intel/broadwell: Add back support for EHCI debug setup 2015-12-27 17:45:06 +01:00
xhci.c soc/intel/broadwell: use common Intel ACPI hardware definitions 2016-07-15 08:32:49 +02:00