Patchwork Don't build atapromise on libpayload

login
register
about
Submitter Carl-Daniel Hailfinger
Date 2016-02-26 01:19:54
Message ID <56CFA83A.8040808@gmx.net>
Download mbox | patch
Permalink /patch/4402/
State Superseded
Headers show

Comments

Carl-Daniel Hailfinger - 2016-02-26 01:19:54
libpayload struct pci_dev is missing a member named 'rom_size' needed by
atapromise.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>

Patch

Index: flashrom-atapromise_disable_on_libpayload/Makefile
===================================================================
--- flashrom-atapromise_disable_on_libpayload/Makefile	(Revision 1943)
+++ flashrom-atapromise_disable_on_libpayload/Makefile	(Arbeitskopie)
@@ -320,6 +320,11 @@ 
 else
 override CONFIG_DEDIPROG = no
 endif
+ifeq ($(CONFIG_ATAPROMISE), yes)
+UNSUPPORTED_FEATURES += CONFIG_ATAPROMISE=yes
+else
+override CONFIG_ATAPROMISE = no
+endif
 ifeq ($(CONFIG_FT2232_SPI), yes)
 UNSUPPORTED_FEATURES += CONFIG_FT2232_SPI=yes
 else