[coreboot] [flashrom] covert to coreboot's pci function style, add libpayload compile support; makefile needs some work

Sean Nelson snelson at nmt.edu
Fri Aug 8 06:38:11 CEST 2008


Flashrom patched for compiling with libpayload while still being able
to compile with libpciutil; uses coreboot styled pci function names
found in libpayload.

Signed-off-by: Sean Nelson <snelson at nmt.edu>

---

I've converted flashrom to use coreboot's pci style function naming.
flash.h holds majority of code to translate pci functions to use
libpciutil, and add additional code/functions need in libpayload. I
tried to make minimal structural changes. I'd suggest someone
re-implement or structure this patch into something more beautiful,
and put in additional work with the Makefile.
Maybe move some of the libpayload functions found in flash.h into libpayload.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flashrom-libpci-to-coreboot-pci-libpayload.patch
Type: application/octet-stream
Size: 61092 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080807/90cea8dc/attachment.obj>


More information about the coreboot mailing list