On 25.05.2010 04:00, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
Carl-Daniel Hailfinger wrote:
Handle the following architectures in generic flashrom code:
- x86/x86_64 (little endian)
- PowerPC (big endian)
- MIPS (big+little endian)
Signed-off-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@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@gmail.com
Thanks for the review and thanks for testing.
Is there a way to determine the chipset and/or the board from userspace? We'll need that to set buses_supported and flash_base correctly.
Regards, Carl-Daniel