From 9c89e3ada2dd30d683c44364e8eea5de757b74eb Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Fri, 12 Nov 2021 08:54:50 +0000 Subject: util: Add coreboot-configurator A simple GUI to change settings in coreboot's CBFS, via the nvramtool utility. Test on the StarBook Mk IV running coreboot 4.15 with: * Ubuntu 20.04 * Ubuntu 21.10 * MX Linux 21 * elementary OS 6 * Manjaro 21 Signed-off-by: Sean Rhodes Change-Id: I491922bf55ed87c2339897099634a38f8d055876 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59256 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- .../src/application/Configuration.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 util/coreboot-configurator/src/application/Configuration.h (limited to 'util/coreboot-configurator/src/application/Configuration.h') diff --git a/util/coreboot-configurator/src/application/Configuration.h b/util/coreboot-configurator/src/application/Configuration.h new file mode 100644 index 0000000000..b2559d4960 --- /dev/null +++ b/util/coreboot-configurator/src/application/Configuration.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#pragma once + +#include +#include +#include +#include + + +namespace Configuration { + +using Parameters = QMap; + +Parameters fromFile(const QString& curr_path); +bool toFile(const QString& curr_path, const Parameters& params); + +} -- cgit v1.2.3