summaryrefslogtreecommitdiff
path: root/script/update/blobs/inject
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-09-04 17:47:13 +0100
committerLeah Rowe <leah@libreboot.org>2023-09-04 18:12:49 +0100
commita56cad71c08ab87195823ba44fd2167aeab0802c (patch)
tree7a91e1f8040aeae38ba194d0389f55123d4fdfeb /script/update/blobs/inject
parent2cbc7eea9533c6da7a4b1cbc3408066aaef85f5a (diff)
update/blobs: unify global variables
they all more or less use the same variables, so put them all under include/blobutil.sh Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/update/blobs/inject')
-rwxr-xr-xscript/update/blobs/inject33
1 files changed, 1 insertions, 32 deletions
diff --git a/script/update/blobs/inject b/script/update/blobs/inject
index 9d3d4678..b68e6f11 100755
--- a/script/update/blobs/inject
+++ b/script/update/blobs/inject
@@ -7,38 +7,7 @@
. "include/err.sh"
. "include/defconfig.sh"
-
-sname=""
-archive=""
-_filetype=""
-rom=""
-board=""
-modifygbe=""
-new_mac=""
-release=""
-releasearchive=""
-
-cbdir="coreboot/default"
-cbcfgsdir="config/coreboot"
-ifdtool="cbutils/default/ifdtool"
-cbfstool="cbutils/default/cbfstool"
-nvmutil="util/nvmutil/nvm"
-boarddir=""
-pciromsdir="pciroms"
-
-CONFIG_HAVE_MRC=""
-CONFIG_HAVE_ME_BIN=""
-CONFIG_ME_BIN_PATH=""
-CONFIG_KBC1126_FIRMWARE=""
-CONFIG_KBC1126_FW1=""
-CONFIG_KBC1126_FW1_OFFSET=""
-CONFIG_KBC1126_FW2=""
-CONFIG_KBC1126_FW2_OFFSET=""
-CONFIG_VGA_BIOS_FILE=""
-CONFIG_VGA_BIOS_ID=""
-CONFIG_GBE_BIN_PATH=""
-CONFIG_INCLUDE_SMSC_SCH5545_EC_FW=""
-CONFIG_SMSC_SCH5545_EC_FW_FILE=""
+. "include/blobutil.sh"
main()
{