coreboot/src/include
Aaron Durbin dcbccd6a1e lib/boot_device: add RW boot device construct
The current boot device usage assumes read-only semantics to
the boot device. Any time someone wants to write to the
boot device a device-specific API is invoked such as SPI flash.
Instead, provide a mechanism to retrieve an object that can
be used to perform writes to the boot device. On systems where
the implementations are symmetric these devices can be treated
one-in-the-same. However, for x86 systems with memory mapped SPI
the read-only boot device provides different operations.

BUG=chrome-os-partner:55932

Change-Id: I0af324824f9e1a8e897c2453c36e865b59c4e004
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/16194
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2016-08-19 03:07:05 +02:00
..
boot lib: add common write_tables() implementation 2016-04-21 20:49:05 +02:00
console console: Change CONFIG_CHROMEOS requirement from do_printk_va_list() 2016-08-16 23:14:30 +02:00
cpu src/include: Capitalize CPU, RAM and ROM 2016-07-31 18:30:16 +02:00
device SPD: fix DDR3 SDRAM memory module types 2016-06-24 18:15:09 +02:00
pc80 pc80/mc146818rtc.h: Replace leftover macro token 2016-08-18 22:45:17 +02:00
smp
superio
sys
tpm_lite tpm2: implement locking firmware rollback counter 2016-07-14 00:00:14 +02:00
antirollback.h vboot2: tpm2 factory initialization. 2016-07-12 00:27:27 +02:00
assert.h
b64_decode.h
base3.h
bcd.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
boardid.h
boot_device.h lib/boot_device: add RW boot device construct 2016-08-19 03:07:05 +02:00
bootblock_common.h bootblock: Declare common bootblock_pre_c_entry routine 2016-06-12 14:52:17 +02:00
bootmem.h lib/bootmem: allow architecture specific bootmem ranges 2016-04-21 20:46:45 +02:00
bootmode.h bootmode: Get rid of CONFIG_BOOTMODE_STRAPS 2016-07-28 00:36:22 +02:00
bootstate.h lib: Add Kconfig to toggle boot state debugging 2016-02-18 00:01:14 +01:00
cbfs.h src/include: Capitalize CPU, RAM and ROM 2016-07-31 18:30:16 +02:00
cbmem.h intel/model_206ax: Move platform specific defines 2016-06-17 00:22:10 +02:00
delay.h
edid.h edid: Make framebuffer row alignment configurable 2016-04-07 20:46:38 +02:00
elog.h drivers/elog: provide return status for all operations 2016-08-09 19:53:21 +02:00
endian.h
fallback.h
fmap.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
gic.h src/include: Capitalize CPU, RAM and ROM 2016-07-31 18:30:16 +02:00
gpio.h lib/gpio: add pullup & pulldown gpio_base2_value() variants 2016-07-07 20:44:36 +02:00
halt.h lib: add poweroff() declaration 2016-07-15 08:35:15 +02:00
imd.h
inttypes.h x86: provide more C standard environment 2013-03-20 04:20:25 +01:00
ip_checksum.h
kconfig.h
lib.h lib: remove ulzma() 2016-07-01 23:55:16 +02:00
main_decl.h arches: lib: add main_decl.h for main() declaration 2016-02-11 23:29:08 +01:00
memlayout.h arch/x86: introduce postcar stage/phase 2016-03-23 14:24:30 +01:00
memory_info.h
memrange.h lib/memrange: add function to initialize range_entry 2016-03-09 16:46:16 +01:00
nhlt.h lib/nhlt: drop nhlt_soc_add_endpoint() 2016-06-29 23:15:37 +02:00
option.h
program_loading.h intel post-car: Consolidate choose_top_of_stack() 2016-07-10 11:16:07 +02:00
reg_script.h lib/reg_script: Add display support 2016-05-04 19:21:40 +02:00
reset.h soc/intel/common: Add reset_prepare() for common reset 2016-07-19 20:20:13 +02:00
rmodule.h src/include: Capitalize CPU, RAM and ROM 2016-07-31 18:30:16 +02:00
romstage_handoff.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
rtc.h lib: Add real-time-clock functions 2016-06-24 20:22:05 +02:00
rules.h arch/x86: introduce postcar stage/phase 2016-03-23 14:24:30 +01:00
sdram_mode.h
smbios.h SMBIOS: Implement SKU field 2016-06-02 06:24:24 +02:00
spd.h SPD: Add CAS latency 2 2016-07-12 15:17:31 +02:00
spd_cache.h
spd_ddr2.h SPD: fix and add DDR2 SDRAM memory module types 2016-06-24 18:09:18 +02:00
spi-generic.h
spi_flash.h
stage_cache.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
stddef.h stddef.h: fix zeroptr's definition 2016-04-15 16:18:57 +02:00
stdlib.h
string.h
swab.h
symbols.h memlayout: Add symbols for stage bounds 2016-02-22 21:38:07 +01:00
thread.h
timer.h
timestamp.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
tpm.h
trace.h
types.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
vbe.h intel/gma: Clarify code and use dedicated init for Google Peppy 2014-08-25 22:36:03 +02:00
version.h
watchdog.h watchdog.h: Fix compile time error on disabling watchdog handling 2013-03-12 12:06:43 +01:00
wrdd.h Remove extra newlines from the end of all coreboot files. 2016-07-31 18:19:33 +02:00