[PATCH 0/2] firmware: google: Expose coreboot tables and CBMEM

From: patrick . rudolph
Date: Fri Nov 15 2019 - 11:16:05 EST


From: Patrick Rudolph <patrick.rudolph@xxxxxxxxxxxxx>

As user land tools currently use /dev/mem to access coreboot tables and
CBMEM, provide a better way by using sysfs attributes.

Unconditionally expose all tables and buffers making future changes in
coreboot possible without modifying a kernel driver.

Patrick Rudolph (2):
firmware: google: Expose CBMEM over sysfs
firmware: google: Expose coreboot tables over sysfs

drivers/firmware/google/Kconfig | 6 +
drivers/firmware/google/Makefile | 1 +
drivers/firmware/google/cbmem-coreboot.c | 164 +++++++++++++++++++++++
drivers/firmware/google/coreboot_table.c | 59 ++++++++
drivers/firmware/google/coreboot_table.h | 13 ++
5 files changed, 243 insertions(+)
create mode 100644 drivers/firmware/google/cbmem-coreboot.c

--
2.21.0