diff options
author | Adam Jurkowski <adam.jurkowski@kontron.pl> | 2009-12-14 03:07:31 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2009-12-14 03:07:31 +0000 |
commit | 516f93219f0ea955d7f98d856c4e3161e0416348 (patch) | |
tree | cc39537d2c4b150beba95ebd749a7cbbc8e321d2 | |
parent | 66ef4e5ff32b1d19281c9d6723b1acfe566f9763 (diff) | |
download | ast2050-flashrom-516f93219f0ea955d7f98d856c4e3161e0416348.zip ast2050-flashrom-516f93219f0ea955d7f98d856c4e3161e0416348.tar.gz |
Don't print out supported PCI devices header if all following lines are excluded from build
Corresponding to flashrom svn r798.
Signed-off-by: Adam Jurkowski <adam.jurkowski@kontron.pl>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-rw-r--r-- | print.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -231,8 +231,10 @@ void print_supported(void) print_supported_chipsets(); print_supported_boards(); #endif +#if (NIC3COM_SUPPORT == 1) || (GFXNVIDIA_SUPPORT == 1) || (DRKAISER_SUPPORT == 1) || (SATASII_SUPPORT == 1) printf("\nSupported PCI devices flashrom can use " "as programmer:\n\n"); +#endif #if NIC3COM_SUPPORT == 1 print_supported_pcidevs(nics_3com); #endif |