Skip to content

Commit 8b405e9

Browse files
govindsiMic92
authored andcommitted
chore(fmt): apply nix formatting
Signed-off-by: Govind Singh <[email protected]>
1 parent 34b7229 commit 8b405e9

File tree

7 files changed

+27
-24
lines changed

7 files changed

+27
-24
lines changed

nxp/imx93-evk/bsp/imx93-atf.nix

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1-
{ lib, fetchgit, stdenv, buildPackages, pkgsCross, openssl }:
1+
{
2+
lib,
3+
fetchgit,
4+
stdenv,
5+
buildPackages,
6+
pkgsCross,
7+
openssl,
8+
}:
29

310
let
411
target-board = "imx93";
5-
in stdenv.mkDerivation rec {
12+
in
13+
stdenv.mkDerivation rec {
614
pname = "imx93-atf";
715
version = "2.10.0";
816
platform = target-board;
@@ -47,4 +55,3 @@ in stdenv.mkDerivation rec {
4755
platforms = [ "aarch64-linux" ];
4856
};
4957
}
50-

nxp/imx93-evk/bsp/imx93-boot.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
}:
44
with pkgs;
55
let
6-
fw-ver = "202406";
76

87
imx93-atf = pkgs.callPackage ./imx93-atf.nix { };
98
imx93-firmware = pkgs.callPackage ./imx93-firmware.nix { };

nxp/imx93-evk/bsp/imx93-firmware.nix

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ stdenv.mkDerivation rec {
55
pname = "nxp-firmware";
66
version = "nxp-firmware-8.21-0.11";
77

8-
# Fetch the two firmware installers from NXP
98
ddrFirmware = fetchurl {
109
url = "https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.21.bin";
1110
sha256 = "sha256-w0R/D4E0FczqncLvEggMs6yLvAxnOSp0/H1ZIF61pnI=";
@@ -16,7 +15,10 @@ stdenv.mkDerivation rec {
1615
sha256 = "sha256-JpSAQXqK6apMxBAauUcof8M0VakxAh29xNm621ISvOs=";
1716
};
1817

19-
nativeBuildInputs = [ coreutils bash ];
18+
nativeBuildInputs = [
19+
coreutils
20+
bash
21+
];
2022

2123
dontUnpack = true;
2224
dontStrip = true;
@@ -44,4 +46,3 @@ stdenv.mkDerivation rec {
4446
4547
'';
4648
}
47-

nxp/imx93-evk/bsp/imx93-linux.nix

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ buildLinux (
5151
rev = "37d02f4dcbbe6677dc9f5fc17f386c05d6a7bd7a";
5252
sha256 = "sha256-1oJMbHR8Ho0zNritEJ+TMOAyYHCW0vwhPkDfLctrZa8=";
5353
};
54-
meta = with lib; {
55-
homepage = "https://github.com/nxp-imx/linux-imx";
56-
license = [ licenses.gpl2Only ];
57-
maintainers = with maintainers; [ govindsi ];
58-
platforms = [ "aarch64-linux" ];
59-
};
60-
}
54+
meta = with lib; {
55+
homepage = "https://github.com/nxp-imx/linux-imx";
56+
license = [ licenses.gpl2Only ];
57+
maintainers = with maintainers; [ govindsi ];
58+
platforms = [ "aarch64-linux" ];
59+
};
60+
}
6161
// (args.argsOverride or { })
6262
)

nxp/imx93-evk/bsp/imx93-optee-os.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
{
1+
{
22
lib,
3-
pkgs
3+
pkgs,
44
}:
55
let
66
inherit (pkgs.buildPackages) python3;
@@ -57,7 +57,7 @@ pkgs.stdenv.mkDerivation rec {
5757
--replace "\$(CROSS_COMPILE_\$(sm))ar" ${binutils}/bin/${toolchain.targetPrefix}ar
5858
substituteInPlace mk/gcc.mk \
5959
--replace "\$(CROSS_COMPILE_\$(sm))cpp" ${cpp}/bin/cpp
60-
'';
60+
'';
6161

6262
makeFlags = [
6363
"PLATFORM=imx-mx93evk"

nxp/imx93-evk/bsp/imx93-uboot.nix

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@ let
2121
rev = "e3219a5a73445219df605d1492687918d488055c";
2222
sha256 = "sha256-6pXwgNzq4/XUUEmJ6sGC5pII4J5uMvlDPE9QJxjJJbQ=";
2323
};
24-
meta = with lib; {
25-
homepage = "https://github.com/nxp-imx/uboot-imx";
26-
license = [ licenses.gpl2Only ];
27-
maintainers = with maintainers; [ govindsi ];
28-
platforms = [ "aarch64-linux" ];
29-
};
3024
in
3125
stdenv.mkDerivation {
3226
pname = "imx93-uboot";

nxp/imx93-evk/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
];
1010

1111
boot.loader.grub.extraFiles = {
12-
"imx93-11x11-evk.dtb" = "${pkgs.callPackage ./bsp/imx93-linux.nix { }}/dtbs/freescale/imx93-11x11-evk.dtb";
12+
"imx93-11x11-evk.dtb" = "${
13+
pkgs.callPackage ./bsp/imx93-linux.nix { }
14+
}/dtbs/freescale/imx93-11x11-evk.dtb";
1315
};
1416

1517
hardware.deviceTree = {

0 commit comments

Comments
 (0)