diff options
author | Patrick Georgi <patrick.georgi@secunet.com> | 2012-02-02 15:51:29 +0100 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2012-02-02 17:48:05 +0100 |
commit | 5febb00640f838dc31035c1e6a999067c28367d9 (patch) | |
tree | 9e6dc42b2b75c356621421b9e0cee7b0267aba42 /payloads/libpayload/include | |
parent | b06bd8d9542513d87c62e494d3ca8012264b2878 (diff) |
libpayload: Add access to CMOS images in memory space
Provide access to CMOS images in RAM or CBFS, such as cmos.defaults
Change-Id: Ifa70dea6206d94c0c271caf9ae1152fc76b5d51a
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Reviewed-on: http://review.coreboot.org/584
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r-- | payloads/libpayload/include/libpayload.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h index 91156e53df..308d95c667 100644 --- a/payloads/libpayload/include/libpayload.h +++ b/payloads/libpayload/include/libpayload.h @@ -199,7 +199,8 @@ struct nvram_accessor { void (*write)(u8 val, u8 reg); }; -extern struct nvram_accessor *use_nvram; +extern u8 *mem_accessor_base; +extern struct nvram_accessor *use_nvram, *use_mem; struct cb_cmos_option_table *get_system_option_table(void); void fix_options_checksum_with(const struct nvram_accessor *nvram); |