coreboot/src/include
Aaron Durbin 5d4276f439 UPSTREAM: drivers/spi: provide a mechanism to obtain the SPI flash boot device
The MRC cache wants to be able to access the SPI flash boot device.
Allow an easy way to provide that so that there isn't duplicate
spi_flash objects representing the same device.

BUG=chrome-os-partner:56151
BRANCH=None
TEST=None

Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/17715
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>

Change-Id: Iba92e8bb8a6060cdd327b10f5f8ec23ac61101e7
Reviewed-on: https://chromium-review.googlesource.com/418435
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-12-09 03:29:45 -08:00
..
boot lib: add common write_tables() implementation 2016-04-21 20:49:05 +02:00
console UPSTREAM: drivers/intel/fsp2_0: track end of firmware notifications 2016-11-14 19:59:03 -08:00
cpu UPSTREAM: cpu/x86/msr.h: Drop excessive includes 2016-12-08 12:31:26 -08:00
device UPSTREAM: src/device: Get device structure by path type 2016-12-08 22:46:36 -08:00
pc80 UPSTREAM: rtc: Check update-in-progress bit 2016-11-19 03:17:58 -08:00
smp UPSTREAM: src/include: Improve code formatting 2016-09-07 11:31:21 -07:00
superio tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
sys commonlib: Prepare code to be included in cbfstool builds. 2016-01-06 01:11:32 +01:00
tpm_lite UPSTREAM: vboot: TPM2 - report attempts to re-create NVRAM spaces 2016-11-16 07:08:26 -08:00
adainit.h UPSTREAM: Add option to use Ada code in ramstage 2016-11-07 11:02:52 -08:00
antirollback.h UPSTREAM: src/vboot: mark factory_initialze_tpm() as static 2016-11-14 19:58:42 -08:00
assert.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
b64_decode.h lib: add base64 decoder 2015-04-22 08:50:54 +02:00
base3.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
bcd.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
boardid.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
boot_device.h UPSTREAM: lib/boot_device: add RW boot device construct 2016-08-19 14:20:23 -07:00
bootblock_common.h UPSTREAM: bootblock: Declare common bootblock_pre_c_entry routine 2016-06-13 15:56:05 -07:00
bootmem.h lib/bootmem: allow architecture specific bootmem ranges 2016-04-21 20:46:45 +02:00
bootmode.h UPSTREAM: vboot: Add new function for logging recovery mode switches 2016-11-14 19:59:45 -08:00
bootstate.h lib: Add Kconfig to toggle boot state debugging 2016-02-18 00:01:14 +01:00
cbfs.h UPSTREAM: ACPI S3: Remove HIGH_MEMORY_SAVE where possible 2016-11-10 18:31:17 -08:00
cbmem.h UPSTREAM: arch/x86,lib: make cbmem console work in postcar stage 2016-09-21 19:36:55 -07:00
delay.h timer: Reestablish init_timer(), consolidate timer initialization calls 2015-04-14 09:03:28 +02:00
edid.h UPSTREAM: edid: Fix a function signature 2016-09-09 12:33:33 -07:00
elog.h UPSTREAM: soc/intel/common: Add save/restore for variable MRC data 2016-12-01 03:34:00 -08:00
endian.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
fallback.h cbfs: new API and better program loading 2015-06-02 14:09:31 +02:00
fmap.h UPSTREAM: lib/fmap: provide RW region device support 2016-08-22 00:11:45 -07:00
gic.h UPSTREAM: src/include: Capitalize CPU, RAM and ROM 2016-08-04 23:37:08 -07:00
gpio.h UPSTREAM: lib/gpio: add pullup & pulldown gpio_base2_value() variants 2016-07-07 19:29:24 -07:00
halt.h UPSTREAM: lib: add poweroff() declaration 2016-07-15 16:50:22 -07:00
imd.h cbmem: add coreboot table records for each cbmem entry 2015-11-03 00:19:46 +01:00
inttypes.h x86: provide more C standard environment 2013-03-20 04:20:25 +01:00
ip_checksum.h UPSTREAM: lib/compute_ip_checksum: mark data buffer as const 2016-12-08 22:46:57 -08:00
kconfig.h Add config_enabled() from Linux 2012-05-08 00:36:09 +02:00
lib.h UPSTREAM: lib: remove ulzma() 2016-07-07 01:08:55 -07:00
main_decl.h arches: lib: add main_decl.h for main() declaration 2016-02-11 23:29:08 +01:00
memlayout.h UPSTREAM: memlayout: Ensure TIMESTAMP() region is big enough to avoid BUG() 2016-08-24 17:40:09 -07:00
memory_info.h smbios: add funtion for smbios type17 2015-03-27 09:55:21 +01:00
memrange.h lib/memrange: add function to initialize range_entry 2016-03-09 16:46:16 +01:00
nhlt.h UPSTREAM: lib/nhlt: add support for setting the oem_revision 2016-12-02 14:23:05 -08:00
option.h option: Add arch-agnostic get_option() 2014-03-04 15:23:10 +01:00
program_loading.h UPSTREAM: ACPI S3: Remove HIGH_MEMORY_SAVE where possible 2016-11-10 18:31:17 -08:00
reg_script.h lib/reg_script: Add display support 2016-05-04 19:21:40 +02:00
region_file.h UPSTREAM: lib: add region file support 2016-12-09 03:29:43 -08:00
reset.h UPSTREAM: src/include: Improve code formatting 2016-09-07 11:31:21 -07:00
rmodule.h UPSTREAM: src/include: Capitalize CPU, RAM and ROM 2016-08-04 23:37:08 -07:00
romstage_handoff.h UPSTREAM: lib: put romstage_handoff implementation in own compilation unit 2016-12-02 14:23:00 -08:00
rtc.h Add common real-time-clock functions 2016-06-20 20:10:36 -07:00
rules.h UPSTREAM: arch/arm: Add armv7-r configuration 2016-09-13 22:20:12 -07:00
sdram_mode.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
smbios.h UPSTREAM: src/include: Add space around operators 2016-09-22 08:54:43 -07:00
spd.h UPSTREAM: SPD: Add CAS latency 2 2016-07-12 22:34:24 -07:00
spd_bin.h UPSTREAM: lib: Add library to handle SPD data in CBFS or DIMM 2016-12-01 03:34:21 -08:00
spd_cache.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
spd_ddr2.h UPSTREAM: src/include: Add space around operators 2016-09-22 08:54:43 -07:00
spi-generic.h UPSTREAM: spi: Clean up SPI driver interface 2016-12-08 22:46:31 -08:00
spi_flash.h UPSTREAM: drivers/spi: provide a mechanism to obtain the SPI flash boot device 2016-12-09 03:29:45 -08:00
stage_cache.h UPSTREAM: arch/x86: cache postcar in stage cache 2016-12-02 14:23:02 -08:00
stddef.h stddef.h: fix zeroptr's definition 2016-04-15 16:18:57 +02:00
stdlib.h Add DIV_ROUND_CLOSEST 2016-09-08 06:15:05 -07:00
string.h UPSTREAM: string.h: only guard snprintf() with __ROMCC__ 2016-11-10 18:31:10 -08:00
swab.h include: Fix spelling 2013-07-11 22:36:19 +02:00
symbols.h UPSTREAM: RISCV: Clean up the common architectural code 2016-10-24 23:31:14 -07:00
thread.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
timer.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
timestamp.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
tpm.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
trace.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
types.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
vbe.h UPSTREAM: src/include: Add space around operators 2016-09-22 08:54:43 -07:00
version.h build.h: remove variable for the builduser, -hostname and -domain 2015-03-09 17:53:16 +01:00
watchdog.h UPSTREAM: src/include: Improve code formatting 2016-09-07 11:31:21 -07:00
wrdd.h UPSTREAM: Remove extra newlines from the end of all coreboot files. 2016-08-04 23:36:56 -07:00