Commit e016826a authored by Stefan Tauner's avatar Stefan Tauner

Automatically disable atapromise for libpayload as well

The atapromise module uses the rom_size field of the struct pci_dev found
in pci.h that does not exist in libpayload's implementation and thus does
not compile with libpayload.

Corresponding to flashrom svn r1938.
Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
parent e0c7abf2
...@@ -292,6 +292,12 @@ UNSUPPORTED_FEATURES += CONFIG_DUMMY=yes ...@@ -292,6 +292,12 @@ UNSUPPORTED_FEATURES += CONFIG_DUMMY=yes
else else
override CONFIG_DUMMY = no override CONFIG_DUMMY = no
endif endif
# libpayload does not provide the romsize field in struct pci_dev that the atapromise code requires.
ifeq ($(CONFIG_ATAPROMISE), yes)
UNSUPPORTED_FEATURES += CONFIG_ATAPROMISE=yes
else
override CONFIG_ATAPROMISE = no
endif
# Bus Pirate, Serprog and PonyProg are not supported with libpayload (missing serial support). # Bus Pirate, Serprog and PonyProg are not supported with libpayload (missing serial support).
ifeq ($(CONFIG_BUSPIRATE_SPI), yes) ifeq ($(CONFIG_BUSPIRATE_SPI), yes)
UNSUPPORTED_FEATURES += CONFIG_BUSPIRATE_SPI=yes UNSUPPORTED_FEATURES += CONFIG_BUSPIRATE_SPI=yes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment