Skip to content

Commit

Permalink
Source JSON firmware files from linux-firmware
Browse files Browse the repository at this point in the history
They seem to be identical to the ones we had here, modulo the line
endings. cdspr.jsn also seems to be missing, but I don't think this will
cause issues.
  • Loading branch information
kuruczgy committed Nov 18, 2024
1 parent 6d69628 commit 302be5e
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 122 deletions.
22 changes: 0 additions & 22 deletions firmware/adspr.jsn

This file was deleted.

22 changes: 0 additions & 22 deletions firmware/adsps.jsn

This file was deleted.

29 changes: 0 additions & 29 deletions firmware/adspua.jsn

This file was deleted.

22 changes: 0 additions & 22 deletions firmware/battmgr.jsn

This file was deleted.

22 changes: 0 additions & 22 deletions firmware/cdspr.jsn

This file was deleted.

6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/x1e80100-lenovo-yoga-slim7x-firmware-json.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ runCommand }:
{ pkgs, runCommand }:

runCommand "x1e80100-lenovo-yoga-slim7x-firmware-json"
{
Expand All @@ -7,6 +7,6 @@ runCommand "x1e80100-lenovo-yoga-slim7x-firmware-json"
passthru.compressFirmware = false;
} ''
mkdir -p $out/lib/firmware/qcom/x1e80100/LENOVO/83ED
cp ${../firmware}/*.jsn \
cp ${pkgs.linux-firmware}/lib/firmware/qcom/x1e80100/*.jsn \
$out/lib/firmware/qcom/x1e80100/LENOVO/83ED/
''

0 comments on commit 302be5e

Please sign in to comment.