flashrom/flashrom-0002-Use-dmidecode-path-defined-at-configure-stage.patch

20 lines
538 B
Diff
Raw Normal View History

From: Peter Lemenkov <lemenkov@gmail.com>
Date: Sat, 12 Jun 2010 22:13:53 +0400
flashrom svn ver. 1850 - Add support for Winbond W25Q40.V chips - Add support for Macronix MX23L1654, MX23L6454 and MX23L12854 mask ROMs - Add support for Intel Wildcat Point PCH - Add support for Intel Silvermont: Bay Trail, Rangeley and Avoton - Add support for S25FL128P, S25FL129P chips - Add support for a bunch of 29GL parallel flash chips - Add support for Atmel AT49LH004 and AT49LH00B4 - Add new programmer for SPI EEPROMs attached to Intel 82580 NICs - Add support for AMD Bolton chipset - Add Board Enable for ASUS Vintage 2 PH1 (P5LD2-MQ) - Add support for Macronix MX29F022(N)B and MX29F022(N)T - Add support for Macronix MX25U12835F - Add support for Sanyo LE25FW106 - Add IT8212F PCI ATA controller as programmer - Add support for Atmel (now Adesto) AT25DL081 and AT25DL161 - Add VIA VT6421A LPC programmer driver - Add support for ESMT F25L32PA - Add support for Sanyo LE25FW406A - Add support for new AMD SPI controller (SPI 100) - Add support for Sanyo LE25FU406B - Add support for SST25LF020A - Add support for Spansion S25FL132K and S25FL164K - Add support for SST25WF08 - Add support for Macronix MX23L3254 mask ROM - Add support for TUMPA Lite - Add support for Intel 82574L - Add board enable for ASUS A7V8X-MX - Add board enable for ASUS P5LD2-VM DH - Add board enable for abit BF6 - Add support for SST25VF512A, ST25VF020, SST25VF020B chips - Add pinout for Wiggler LPT - Add pinout for Atmel STK200/300 - Add pinout for Altera ByteBlasterMV - Add support for ST M50LPW080 chip - Add an internal DMI decoder - Add board enable for Bcom WinNET P680 - Add support for AT45CS1282 chip - Add support for AT45DB321C - Add support for Atmel AT45DB* chips - Add support for Fujitsu MBM29LV160BE/TE - Add ability to select between chips on GIGABYTE DualBIOS boards - Temporarily disable ftdi support Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2014-09-11 18:48:16 +00:00
Subject: [PATCH] Use dmidecode path defined at configure stage
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
diff --git a/dmi.c b/dmi.c
flashrom svn ver. 1850 - Add support for Winbond W25Q40.V chips - Add support for Macronix MX23L1654, MX23L6454 and MX23L12854 mask ROMs - Add support for Intel Wildcat Point PCH - Add support for Intel Silvermont: Bay Trail, Rangeley and Avoton - Add support for S25FL128P, S25FL129P chips - Add support for a bunch of 29GL parallel flash chips - Add support for Atmel AT49LH004 and AT49LH00B4 - Add new programmer for SPI EEPROMs attached to Intel 82580 NICs - Add support for AMD Bolton chipset - Add Board Enable for ASUS Vintage 2 PH1 (P5LD2-MQ) - Add support for Macronix MX29F022(N)B and MX29F022(N)T - Add support for Macronix MX25U12835F - Add support for Sanyo LE25FW106 - Add IT8212F PCI ATA controller as programmer - Add support for Atmel (now Adesto) AT25DL081 and AT25DL161 - Add VIA VT6421A LPC programmer driver - Add support for ESMT F25L32PA - Add support for Sanyo LE25FW406A - Add support for new AMD SPI controller (SPI 100) - Add support for Sanyo LE25FU406B - Add support for SST25LF020A - Add support for Spansion S25FL132K and S25FL164K - Add support for SST25WF08 - Add support for Macronix MX23L3254 mask ROM - Add support for TUMPA Lite - Add support for Intel 82574L - Add board enable for ASUS A7V8X-MX - Add board enable for ASUS P5LD2-VM DH - Add board enable for abit BF6 - Add support for SST25VF512A, ST25VF020, SST25VF020B chips - Add pinout for Wiggler LPT - Add pinout for Atmel STK200/300 - Add pinout for Altera ByteBlasterMV - Add support for ST M50LPW080 chip - Add an internal DMI decoder - Add board enable for Bcom WinNET P680 - Add support for AT45CS1282 chip - Add support for AT45DB321C - Add support for Atmel AT45DB* chips - Add support for Fujitsu MBM29LV160BE/TE - Add ability to select between chips on GIGABYTE DualBIOS boards - Temporarily disable ftdi support Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2014-09-11 18:48:16 +00:00
index a7a9a61..093b9a2 100644
--- a/dmi.c
+++ b/dmi.c
flashrom svn ver. 1850 - Add support for Winbond W25Q40.V chips - Add support for Macronix MX23L1654, MX23L6454 and MX23L12854 mask ROMs - Add support for Intel Wildcat Point PCH - Add support for Intel Silvermont: Bay Trail, Rangeley and Avoton - Add support for S25FL128P, S25FL129P chips - Add support for a bunch of 29GL parallel flash chips - Add support for Atmel AT49LH004 and AT49LH00B4 - Add new programmer for SPI EEPROMs attached to Intel 82580 NICs - Add support for AMD Bolton chipset - Add Board Enable for ASUS Vintage 2 PH1 (P5LD2-MQ) - Add support for Macronix MX29F022(N)B and MX29F022(N)T - Add support for Macronix MX25U12835F - Add support for Sanyo LE25FW106 - Add IT8212F PCI ATA controller as programmer - Add support for Atmel (now Adesto) AT25DL081 and AT25DL161 - Add VIA VT6421A LPC programmer driver - Add support for ESMT F25L32PA - Add support for Sanyo LE25FW406A - Add support for new AMD SPI controller (SPI 100) - Add support for Sanyo LE25FU406B - Add support for SST25LF020A - Add support for Spansion S25FL132K and S25FL164K - Add support for SST25WF08 - Add support for Macronix MX23L3254 mask ROM - Add support for TUMPA Lite - Add support for Intel 82574L - Add board enable for ASUS A7V8X-MX - Add board enable for ASUS P5LD2-VM DH - Add board enable for abit BF6 - Add support for SST25VF512A, ST25VF020, SST25VF020B chips - Add pinout for Wiggler LPT - Add pinout for Atmel STK200/300 - Add pinout for Altera ByteBlasterMV - Add support for ST M50LPW080 chip - Add an internal DMI decoder - Add board enable for Bcom WinNET P680 - Add support for AT45CS1282 chip - Add support for AT45DB321C - Add support for Atmel AT45DB* chips - Add support for Fujitsu MBM29LV160BE/TE - Add ability to select between chips on GIGABYTE DualBIOS boards - Temporarily disable ftdi support Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2014-09-11 18:48:16 +00:00
@@ -294,7 +294,7 @@ out:
#else /* CONFIG_INTERNAL_DMI */
flashrom svn ver. 1850 - Add support for Winbond W25Q40.V chips - Add support for Macronix MX23L1654, MX23L6454 and MX23L12854 mask ROMs - Add support for Intel Wildcat Point PCH - Add support for Intel Silvermont: Bay Trail, Rangeley and Avoton - Add support for S25FL128P, S25FL129P chips - Add support for a bunch of 29GL parallel flash chips - Add support for Atmel AT49LH004 and AT49LH00B4 - Add new programmer for SPI EEPROMs attached to Intel 82580 NICs - Add support for AMD Bolton chipset - Add Board Enable for ASUS Vintage 2 PH1 (P5LD2-MQ) - Add support for Macronix MX29F022(N)B and MX29F022(N)T - Add support for Macronix MX25U12835F - Add support for Sanyo LE25FW106 - Add IT8212F PCI ATA controller as programmer - Add support for Atmel (now Adesto) AT25DL081 and AT25DL161 - Add VIA VT6421A LPC programmer driver - Add support for ESMT F25L32PA - Add support for Sanyo LE25FW406A - Add support for new AMD SPI controller (SPI 100) - Add support for Sanyo LE25FU406B - Add support for SST25LF020A - Add support for Spansion S25FL132K and S25FL164K - Add support for SST25WF08 - Add support for Macronix MX23L3254 mask ROM - Add support for TUMPA Lite - Add support for Intel 82574L - Add board enable for ASUS A7V8X-MX - Add board enable for ASUS P5LD2-VM DH - Add board enable for abit BF6 - Add support for SST25VF512A, ST25VF020, SST25VF020B chips - Add pinout for Wiggler LPT - Add pinout for Atmel STK200/300 - Add pinout for Altera ByteBlasterMV - Add support for ST M50LPW080 chip - Add an internal DMI decoder - Add board enable for Bcom WinNET P680 - Add support for AT45CS1282 chip - Add support for AT45DB321C - Add support for Atmel AT45DB* chips - Add support for Fujitsu MBM29LV160BE/TE - Add ability to select between chips on GIGABYTE DualBIOS boards - Temporarily disable ftdi support Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2014-09-11 18:48:16 +00:00
#define DMI_COMMAND_LEN_MAX 300
-static const char *dmidecode_command = "dmidecode";
+static const char *dmidecode_command = DMIDECODE_PATH;
flashrom svn ver. 1850 - Add support for Winbond W25Q40.V chips - Add support for Macronix MX23L1654, MX23L6454 and MX23L12854 mask ROMs - Add support for Intel Wildcat Point PCH - Add support for Intel Silvermont: Bay Trail, Rangeley and Avoton - Add support for S25FL128P, S25FL129P chips - Add support for a bunch of 29GL parallel flash chips - Add support for Atmel AT49LH004 and AT49LH00B4 - Add new programmer for SPI EEPROMs attached to Intel 82580 NICs - Add support for AMD Bolton chipset - Add Board Enable for ASUS Vintage 2 PH1 (P5LD2-MQ) - Add support for Macronix MX29F022(N)B and MX29F022(N)T - Add support for Macronix MX25U12835F - Add support for Sanyo LE25FW106 - Add IT8212F PCI ATA controller as programmer - Add support for Atmel (now Adesto) AT25DL081 and AT25DL161 - Add VIA VT6421A LPC programmer driver - Add support for ESMT F25L32PA - Add support for Sanyo LE25FW406A - Add support for new AMD SPI controller (SPI 100) - Add support for Sanyo LE25FU406B - Add support for SST25LF020A - Add support for Spansion S25FL132K and S25FL164K - Add support for SST25WF08 - Add support for Macronix MX23L3254 mask ROM - Add support for TUMPA Lite - Add support for Intel 82574L - Add board enable for ASUS A7V8X-MX - Add board enable for ASUS P5LD2-VM DH - Add board enable for abit BF6 - Add support for SST25VF512A, ST25VF020, SST25VF020B chips - Add pinout for Wiggler LPT - Add pinout for Atmel STK200/300 - Add pinout for Altera ByteBlasterMV - Add support for ST M50LPW080 chip - Add an internal DMI decoder - Add board enable for Bcom WinNET P680 - Add support for AT45CS1282 chip - Add support for AT45DB321C - Add support for Atmel AT45DB* chips - Add support for Fujitsu MBM29LV160BE/TE - Add ability to select between chips on GIGABYTE DualBIOS boards - Temporarily disable ftdi support Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2014-09-11 18:48:16 +00:00
static char *get_dmi_string(const char *string_name)
{