Blob Blame History Raw
From 2fe1f3c5351ce7d757a0dd63607b67cdcbf235b3 Mon Sep 17 00:00:00 2001
From: Peter Lemenkov <lemenkov@gmail.com>
Date: Sat, 1 Aug 2009 21:08:01 +0400
Subject: [PATCH] Identification of some more BIOS images.

Subj. Actually, I'm sure this is an ugly patch. The proper way will be
the addition of some special search procedures and some commandline
switches to force using of specific extraction routines ( -f ami, -f award).

Anyway, here is a working patch for decoding Asus bioses.

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

diff --git a/bios_extract.c b/bios_extract.c
index 7b81c72..104232a 100644
--- a/bios_extract.c
+++ b/bios_extract.c
@@ -89,6 +89,11 @@ static struct {
     {"Award BootBlock", "= Award Decompression Bios =", AwardExtract},
     {"Phoenix FirstBIOS", "BCPSEGMENT", PhoenixExtract},
     {"PhoenixBIOS 4.0", "BCPSEGMENT", PhoenixExtract},
+    /* custom modified BIOS from Asus - they replace "AMIBOOT " with their own
+     * BIOS ID text */
+    {"ROM", "AMIBIOSC", AMI95Extract},
+    /* some award modules - not sure this is a good solution */
+    {"Award", "Award", AwardExtract},
     {NULL, NULL, NULL},
 };