From c85edc6974f54e9c54379f6211a4fe61c7a77bc5 Mon Sep 17 00:00:00 2001
From: Nikias Bassen
Date: Wed, 25 Sep 2019 02:59:36 +0200
Subject: restore: Add ICE19 baseband firmware files to support newer devices

---
 src/restore.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/restore.c b/src/restore.c
index bdb2883..52a4eb9 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -1175,6 +1175,9 @@ static const char* restore_get_bbfw_fn_for_element(const char* elem)
 		// ICE16 firmware files
 		{ "RestorePSI", "restorepsi.bin" },
 		{ "PSI", "psi_ram.bin" },
+		// ICE19 firmware files
+		{ "RestorePSI2", "restorepsi2.bin" },
+		{ "PSI2", "psi_ram2.bin" },
 		{ NULL, NULL }
 	};
 
@@ -2191,7 +2194,7 @@ int restore_send_firmware_updater_data(restored_client_t restore, struct idevice
 			goto error_out;
 		}
 	} else {
-		error("ERROR: %s: Got unknown updater name '%s'.", __func__, s_updater_name);
+		error("ERROR: %s: Got unknown updater name '%s'.\n", __func__, s_updater_name);
 		goto error_out;
 	}
 	free(s_updater_name);
-- 
cgit v1.1-32-gdbae