68abf3998f
- 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>
32 lines
1.0 KiB
Diff
32 lines
1.0 KiB
Diff
From: Mattias Mattsson <vitplister@gmail.com>
|
|
Date: Wed, 27 Jul 2011 21:02:50 +0400
|
|
Subject: [PATCH] ppc hack
|
|
|
|
|
|
diff --git a/internal.c b/internal.c
|
|
index e646ca8..6101222 100644
|
|
--- a/internal.c
|
|
+++ b/internal.c
|
|
@@ -344,6 +344,8 @@ int internal_init(void)
|
|
"Aborting.\n");
|
|
return 1;
|
|
#endif
|
|
+#elif defined(__powerpc__) || defined(__ppc__)
|
|
+ return 0;
|
|
#else
|
|
/* FIXME: Remove this unconditional abort once all PCI drivers are
|
|
* converted to use little-endian accesses for memory BARs.
|
|
diff --git a/processor_enable.c b/processor_enable.c
|
|
index 1361dd5..49d4006 100644
|
|
--- a/processor_enable.c
|
|
+++ b/processor_enable.c
|
|
@@ -77,7 +77,7 @@ int processor_flash_enable(void)
|
|
flashbase = 0x1fc00000;
|
|
ret = 0;
|
|
}
|
|
-#elif defined(__i386__) || defined(__x86_64__)
|
|
+#elif defined(__i386__) || defined(__x86_64__) || defined(__ppc__) || defined(__powerpc__)
|
|
/* On x86, flash access is not processor specific except on
|
|
* AMD Elan SC520, AMD Geode and maybe other SoC-style CPUs.
|
|
* FIXME: Move enable_flash_cs5536 and get_flashbase_sc520 here.
|