diff options
author | Leah Rowe <leah@libreboot.org> | 2025-04-26 19:16:40 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-04-26 19:16:40 +0100 |
commit | 703fe444312ad9087cddd322c00d15e5a2c9700f (patch) | |
tree | 15ca74d8ab5c63d54909d8ecee3d35c510c05c5c /include/lib.sh | |
parent | b57952e90d2ec3515a1287bfa1129dbcbcef08c0 (diff) |
lib.sh: move cbfs() to rom.sh
it is only ever used there, so move it there
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/lib.sh')
-rw-r--r-- | include/lib.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/lib.sh b/include/lib.sh index 34d8b8b9..dea015e0 100644 --- a/include/lib.sh +++ b/include/lib.sh @@ -118,15 +118,3 @@ check_defconfig() [ -f "$x" ] && printf "%s\n" "$x" && return 1 done; : } - -cbfs() -{ - ccmd="add-payload" && [ $# -gt 3 ] && [ $# -lt 5 ] && ccmd="add" - lzma="-c lzma" && [ $# -gt 3 ] && [ $# -lt 5 ] && lzma="-t $4" - - [ $# -gt 4 ] && [ "$5" = "0x1110000" ] && \ - ccmd="add-flat-binary" && \ - lzma="-c lzma -l 0x1110000 -e 0x1110000" - - x_ "$cbfstool" "$1" $ccmd -f "$2" -n "$3" $lzma -} |