coreboot: introduce romstage_handoff structure
commitcddcc80048ab963f96d13575a3f63070cf6d7c14
authorAaron Durbin <adurbin@chromium.org>
Fri, 8 Feb 2013 23:15:53 +0000 (8 17:15 -0600)
committerRonald G. Minnich <rminnich@gmail.com>
Thu, 21 Mar 2013 17:04:56 +0000 (21 18:04 +0100)
tree02c3ac7fdb82bc9eda29aff90dbf88e00c145079
parenta1db81b47a74ce53b8403eed28876efccf0bcefe
coreboot: introduce romstage_handoff structure

The romstage_handoff structure is intended to be a way for romstage and
ramstage to communicate with one another instead of using sideband
signals such as stuffing magic values in pci config or memory
scratch space. Initially this structure just contains a single region
that indicates to ramstage that it should reserve a memory region used
by the romstage. Ramstage looks for a romstage_handoff structure in cbmem
with an id of CBMEM_ID_ROMSTAGE_INFO. If found, it will honor reserving
the region defined in the romstage_handoff structure.

Change-Id: I9274ea5124e9bd6584f6977d8280b7e9292251f0
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/2791
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
src/arch/x86/boot/coreboot_table.c
src/include/romstage_handoff.h [new file with mode: 0644]