From a44ddc27b1180dfa1037201871d1c717e8f69372 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Mon, 27 May 2024 17:58:14 -0400 Subject: [PATCH] Revert "starfive visionfive2: Increase mtd0 to fit spl" This reverts commit 87e3122b67587492a617764f88c71991893fcf8a. --- starfive/visionfive/v2/default.nix | 5 ----- starfive/visionfive/v2/qspi-patch.dts | 17 ----------------- 2 files changed, 22 deletions(-) delete mode 100644 starfive/visionfive/v2/qspi-patch.dts diff --git a/starfive/visionfive/v2/default.nix b/starfive/visionfive/v2/default.nix index 0c5ba6e..dceca67 100644 --- a/starfive/visionfive/v2/default.nix +++ b/starfive/visionfive/v2/default.nix @@ -25,9 +25,4 @@ hardware.deviceTree.name = lib.mkDefault "starfive/jh7110-starfive-visionfive-2-v1.3b.dtb"; - - hardware.deviceTree.overlays = [{ - name = "qspi-patch"; - dtsFile = ./qspi-patch.dts; - }]; } diff --git a/starfive/visionfive/v2/qspi-patch.dts b/starfive/visionfive/v2/qspi-patch.dts deleted file mode 100644 index 6e12c98..0000000 --- a/starfive/visionfive/v2/qspi-patch.dts +++ /dev/null @@ -1,17 +0,0 @@ -/dts-v1/; -/plugin/; -/ { - compatible = "starfive,jh7110"; - fragment@0 { - target = <&qspi>; - __overlay__ { - nor_flash: flash@0 { - partitions { - spl@0 { - reg = <0x0 0x40000>; - }; - }; - }; - }; - }; -};