From 35c7f1643ff42dafe18abe13ee9b64a7816ff552 Mon Sep 17 00:00:00 2001
From: Daniel Barlow <dan@telent.net>
Date: Fri, 15 Sep 2023 20:43:54 +0100
Subject: [PATCH] change defaultOutput for hardware devices to flashimage

if you're using tftpboot you probably know what you're doing
---
 devices/gl-ar750/default.nix     | 2 +-
 devices/gl-mt300a/default.nix    | 2 +-
 devices/gl-mt300n-v2/default.nix | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/devices/gl-ar750/default.nix b/devices/gl-ar750/default.nix
index 79a6c30..5905a49 100644
--- a/devices/gl-ar750/default.nix
+++ b/devices/gl-ar750/default.nix
@@ -85,7 +85,7 @@
         FEATURE_DD_IBS_OBS = "y"; # ath10k_cal_data needs skip_bytes,fullblock
       };
       hardware = {
-        defaultOutput = "tftpboot";
+        defaultOutput = "flashimage";
         loadAddress = "0x80060000";
         entryPoint  = "0x80060000";
         flash = {
diff --git a/devices/gl-mt300a/default.nix b/devices/gl-mt300a/default.nix
index 3013593..b7b5f5c 100644
--- a/devices/gl-mt300a/default.nix
+++ b/devices/gl-mt300a/default.nix
@@ -28,7 +28,7 @@
       };
      in {
       hardware = {
-        defaultOutput = "tftpboot";
+        defaultOutput = "flashimage";
         loadAddress = "0x80000000";
         entryPoint  = "0x80000000";
 
diff --git a/devices/gl-mt300n-v2/default.nix b/devices/gl-mt300n-v2/default.nix
index 896c9dd..1126e5f 100644
--- a/devices/gl-mt300n-v2/default.nix
+++ b/devices/gl-mt300n-v2/default.nix
@@ -35,7 +35,7 @@
         };
       };
       hardware = {
-        defaultOutput = "tftpboot";
+        defaultOutput = "flashimage";
         loadAddress = "0x80000000";
         entryPoint  = "0x80000000";