From a548a0ed17dc38fe7ac3d3abc56ce68d52f77235 Mon Sep 17 00:00:00 2001 From: leviport Date: Tue, 12 Sep 2023 17:53:51 -0600 Subject: [PATCH] Add support for ASRock firmware flashing --- res/firmware.nsh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/res/firmware.nsh b/res/firmware.nsh index f92d6fb..28be3df 100644 --- a/res/firmware.nsh +++ b/res/firmware.nsh @@ -138,6 +138,13 @@ if "%2" == "bios" then exit %lasterror% endif + # Flash with ASRockAfuEfix64 and exit if possible + # For: thelio-spark-b1 + if exist ASRockAfuEfix64.efi then + ASRockAfuEfix64.efi firmware.rom /P /B /N /K /X + exit %lasterror% + endif + # Flash with efiflash and exit if possible if exist efiflash.efi then efiflash.efi firmware.rom /C /NR \NoOemId