[flashrom] [PATCH] Try to handle non-x86 sanely

Vladimir 'φ-coder/phcoder' Serbinenko phcoder at gmail.com
Tue May 25 04:00:49 CEST 2010


Carl-Daniel Hailfinger wrote:
> Segher: I'd appreciate if you could take a look and ack it if this looks
> OK from a PowerPC perspective.
>
> 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
>
> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
>   
This patch together with setting flash_base to 0x1fc00000 worked fine on
my yeeloong LM8089 (8.9" version, mipsel (little-endian) ). I attach the
logs of -Vr, -V and -w together with lspci.
Acked-by: Vladimir 'phcoder/φ-coder' Serbinenko <phcoder at gmail.com>

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: probe_log.txt
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20100525/3ac92cef/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: probe_read.txt
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20100525/3ac92cef/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: write_log.txt
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20100525/3ac92cef/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lspci.txt
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20100525/3ac92cef/attachment-0003.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 293 bytes
Desc: OpenPGP digital signature
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20100525/3ac92cef/attachment.asc>


More information about the flashrom mailing list