From c5e9fcecc7424fdbfef07552b2738cf9d5a8de34 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Fri, 22 Dec 2023 23:19:28 +0000 Subject: [PATCH] uninit var --- modules/outputs/tftpboot.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/outputs/tftpboot.nix b/modules/outputs/tftpboot.nix index e8b5edf..39c57b1 100644 --- a/modules/outputs/tftpboot.nix +++ b/modules/outputs/tftpboot.nix @@ -88,7 +88,7 @@ in { fdtput -p dtb /reserved-memory ranges node=$(printf "phram-rootfs@%x" $rootfsStart) fdtput -p -t s dtb /reserved-memory/$node compatible phram - fdtput -p -t lx dtb /reserved-memory/$node reg $ac_prefix $(hex $rootfsStart) $sz_prefix $(hex $rootfsBytes) + fdtput -p -t lx dtb /reserved-memory/$node reg $ac_prefix $(hex $rootfsStart) $sz_prefix $(hex $rootfsSize) cmd="mtdparts=phram0:''${rootfsSize}(rootfs) phram.phram=phram0,''${rootfsStart},''${rootfsSize},${toString config.hardware.flash.eraseBlockSize} root=/dev/mtdblock0";