From f10a9690be8589fd193992e9e9a30db29fc564ac 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..2c38b9c 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 /L + exit %lasterror% + endif + # Flash with efiflash and exit if possible if exist efiflash.efi then efiflash.efi firmware.rom /C /NR \NoOemId