coreboot/payloads/libpayload/libcbfs
Aaron Durbin 91afd7004f libpayload: allow for pointers in cbfs ram media
The ram_map() handled offsets from 0->size as well as
negative offsets from the top of the region. However,
the cbfs core tries to map a offset that is actually a
pointer within the region itself. Allow for such instances.
This fixes an issue when using ram_media with tthe ebmedded
SeaBIOS cbfs.

BUG=chrome-os-partner:19691
BRANCH=none
TEST=manual: used ram_media to parse embedded SeaBIOS cbfs properly.

Change-Id: I15b0b3b643390d3784ae5887c0f17d420d59c5b6
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/56641
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Stefan Reinauer <reinauer@google.com>
2013-05-24 16:27:51 -07:00
..
cbfs.c libpayload: Fix reading x86 CBFS images from RAM 2013-03-12 10:23:12 +01:00
cbfs_core.c BACKPORT: cbfs_core.c: make cfbs searches even less verbose 2013-05-08 11:41:56 -07:00
Makefile.inc libpayload: New CBFS to support multiple firmware media sources. 2013-02-12 11:34:20 +01:00
ram_media.c libpayload: allow for pointers in cbfs ram media 2013-05-24 16:27:51 -07:00