[PATCH v4 0/4] firmware_loader: built-in API and make x86 use it

From: Luis Chamberlain
Date: Mon Oct 25 2021 - 16:17:47 EST


The only change on this v4 is to fix a kconfig dependency
(EXTRA_FIRMWARE != "") which I missed to address on the v3 series.

Luis Chamberlain (4):
firmware_loader: rename EXTRA_FIRMWARE and EXTRA_FIRMWARE_DIR
firmware_loader: move builtin build helper to shared library
test_firmware: move a few test knobs out to its library
test_firmware: add support for testing built-in firmware

.../driver-api/firmware/built-in-fw.rst | 6 +-
Documentation/x86/microcode.rst | 8 +--
arch/x86/Kconfig | 4 +-
drivers/base/firmware_loader/Kconfig | 31 ++++++---
drivers/base/firmware_loader/Makefile | 1 +
drivers/base/firmware_loader/builtin/Makefile | 41 ++---------
.../base/firmware_loader/builtin/lib.Makefile | 32 +++++++++
.../firmware_loader/test-builtin/.gitignore | 3 +
.../firmware_loader/test-builtin/Makefile | 18 +++++
drivers/staging/media/av7110/Kconfig | 4 +-
lib/Kconfig.debug | 33 +++++++++
lib/test_firmware.c | 52 +++++++++++++-
.../testing/selftests/firmware/fw_builtin.sh | 69 +++++++++++++++++++
.../selftests/firmware/fw_filesystem.sh | 16 -----
tools/testing/selftests/firmware/fw_lib.sh | 24 +++++++
.../selftests/firmware/fw_run_tests.sh | 2 +
16 files changed, 270 insertions(+), 74 deletions(-)
create mode 100644 drivers/base/firmware_loader/builtin/lib.Makefile
create mode 100644 drivers/base/firmware_loader/test-builtin/.gitignore
create mode 100644 drivers/base/firmware_loader/test-builtin/Makefile
create mode 100755 tools/testing/selftests/firmware/fw_builtin.sh

--
2.30.2