mirror of
https://review.coreboot.org/flashrom.git
synced 2025-06-30 21:52:36 +02:00
Handle the following architectures in generic flashrom code
- x86/x86_64 (little endian) - PowerPC (big endian) - MIPS (big+little endian) No changes to programmer specific code. This means any drivers with MMIO access will _not_ suddenly start working on big endian systems, but with this patch everything is in place to fix them. Compilation should work on all architectures listed above for all drivers except nic3com and nicrealtek which require PCI Port IO which is x86-only for now. To compile without nic3com and nicrealtek, run make distclean make CONFIG_NIC3COM=no CONFIG_NICREALTEK=no Thanks to Misha Manulis for testing early versions of this patch on PowerPC (big endian) with the satasii programmer. Thanks to Segher Boessenkool for design review and for helping out with compiler tricks and pointing out that we need eieio on PowerPC. Thanks to Vladimir Serbinenko for compile testing on MIPS (little endian) and PowerPC (big endian) and for runtime testing on MIPS (little endian). Thanks to David Daney for compile testing on MIPS (big endian). Thanks to Uwe Hermann for compile and runtime testing on x86_64. DO NOT RUN flashrom ON NON-X86 AFTER APPLYING THIS PATCH! This patch only provides the infrastructure, but does not convert any drivers, so flashrom will compile, but it won't do the right thing on non-x86 platforms. Corresponding to flashrom svn r1013. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Misha Manulis <misha@manulis.com> Acked-by: Vladimir 'phcoder/φ-coder' Serbinenko <phcoder@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Segher Boessenkool <segher@kernel.crashing.org>
This commit is contained in:
12
print.c
12
print.c
@ -261,6 +261,7 @@ void print_supported(void)
|
||||
/* Please keep this list alphabetically ordered by vendor/board. */
|
||||
const struct board_info boards_ok[] = {
|
||||
/* Verified working boards that don't need write-enables. */
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
{ "Abit", "AX8", },
|
||||
{ "Abit", "Fatal1ty F-I90HD", },
|
||||
{ "Advantech", "PCM-5820", },
|
||||
@ -381,13 +382,14 @@ const struct board_info boards_ok[] = {
|
||||
{ "VIA", "pc2500e", },
|
||||
{ "VIA", "PC3500G", },
|
||||
{ "VIA", "VB700X", },
|
||||
|
||||
#endif
|
||||
{},
|
||||
};
|
||||
|
||||
/* Please keep this list alphabetically ordered by vendor/board. */
|
||||
const struct board_info boards_bad[] = {
|
||||
/* Verified non-working boards (for now). */
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
{ "Abit", "IS-10", },
|
||||
{ "ASRock", "K7VT4A+", },
|
||||
{ "ASUS", "MEW-AM", },
|
||||
@ -405,29 +407,31 @@ const struct board_info boards_bad[] = {
|
||||
{ "Sun", "Fire x4200", },
|
||||
{ "Sun", "Fire x4540", },
|
||||
{ "Sun", "Fire x4600", },
|
||||
|
||||
#endif
|
||||
{},
|
||||
};
|
||||
|
||||
/* Please keep this list alphabetically ordered by vendor/board. */
|
||||
const struct board_info laptops_ok[] = {
|
||||
/* Verified working laptops. */
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
{ "Lenovo", "3000 V100 TF05Cxx", },
|
||||
{ "Acer", "Aspire 1520", },
|
||||
|
||||
#endif
|
||||
{},
|
||||
};
|
||||
|
||||
/* Please keep this list alphabetically ordered by vendor/board. */
|
||||
const struct board_info laptops_bad[] = {
|
||||
/* Verified non-working laptops (for now). */
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
{ "Acer", "Aspire One", },
|
||||
{ "ASUS", "Eee PC 701 4G", },
|
||||
{ "Dell", "Latitude CPi A366XT", },
|
||||
{ "HP/Compaq", "nx9010", },
|
||||
{ "IBM/Lenovo", "Thinkpad T40p", },
|
||||
{ "IBM/Lenovo", "240", },
|
||||
|
||||
#endif
|
||||
{},
|
||||
};
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user