diff options
author | Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> | 2010-12-06 18:31:26 +0100 |
---|---|---|
committer | Luc Verhaegen <libv@skynet.be> | 2010-12-06 18:31:26 +0100 |
commit | 9b26c284e7e37aa2769f30cbd67d3da393fc900b (patch) | |
tree | 5b7de6e283c7e6d823c609717ea313dab372ebb7 | |
parent | 8b6de0c1d8967663b5ad230b5431482e9e6f1724 (diff) |
phoenix: treat TrustedCore like standard phoenix
Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
-rw-r--r-- | bios_extract.c | 2 | ||||
-rw-r--r-- | bios_extract.h | 4 | ||||
-rw-r--r-- | phoenix.c | 13 |
3 files changed, 2 insertions, 17 deletions
diff --git a/bios_extract.c b/bios_extract.c index 4c86d02..4075b96 100644 --- a/bios_extract.c +++ b/bios_extract.c @@ -92,7 +92,7 @@ static struct { {"Phoenix FirstBIOS", "BCPSEGMENT", PhoenixExtract}, {"PhoenixBIOS 4.0", "BCPSEGMENT", PhoenixExtract}, {"Phoenix ServerBIOS 3", "BCPSEGMENT", PhoenixExtract}, - {"Phoenix TrustedCore", "BCPSEGMENT", PhoenixTrustedExtract}, + {"Phoenix TrustedCore", "BCPSEGMENT", PhoenixExtract}, {NULL, NULL, NULL}, }; diff --git a/bios_extract.h b/bios_extract.h index a39a747..ea268e0 100644 --- a/bios_extract.h +++ b/bios_extract.h @@ -44,9 +44,7 @@ Bool AMI95Extract(unsigned char *BIOSImage, int BIOSLength, int BIOSOffset, /* phoenix.c */ Bool PhoenixExtract(unsigned char *BIOSImage, int BIOSLength, int BIOSOffset, uint32_t Offset1, uint32_t Offset2); -Bool PhoenixTrustedExtract(unsigned char *BIOSImage, int BIOSLength, - int BIOSOffset, uint32_t Offset1, - uint32_t BCPSegmentOffset); + /* award.c */ Bool AwardExtract(unsigned char *BIOSImage, int BIOSLength, int BIOSOffset, uint32_t Offset1, uint32_t Offset2); @@ -238,16 +238,3 @@ PhoenixExtract(unsigned char *BIOSImage, int BIOSLength, int BIOSOffset, return TRUE; } - -/* - * - */ -Bool -PhoenixTrustedExtract(unsigned char *BIOSImage, int BIOSLength, int BIOSOffset, - uint32_t Offset1, uint32_t BCPSegmentOffset) -{ - fprintf(stderr, "ERROR: Phoenix TrustedCore images are not supported.\n"); - printf("Feel free to RE the decompression routine :)\n"); - - return FALSE; -} |