mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +02:00
So far, we have up to 4 different names for the same thing (ignoring capitalization)
CONFIG_FT2232SPI (makefile config option) FT2232_SPI_SUPPORT (#define) ft2232spi (programmer name) ft2232_spi.c (programmer file) Use CONFIG_* with underscores for makefile config options and #defines and kill the useless _SUPPORT idiom. Use lowercase names with underscores for programmer names and programmer files. With this, you can run "grep -i ft2232_spi" and find everything related to the ft2232_spi driver. Same applies to all other programmers. Corresponding to flashrom svn r1023. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
This commit is contained in:
20
print_wiki.c
20
print_wiki.c
@ -25,7 +25,7 @@
|
||||
#include "flash.h"
|
||||
#include "flashchips.h"
|
||||
|
||||
#if INTERNAL_SUPPORT == 1
|
||||
#if CONFIG_INTERNAL == 1
|
||||
struct board_info_url {
|
||||
const char *vendor;
|
||||
const char *name;
|
||||
@ -46,7 +46,7 @@ Please do '''not''' edit these tables in the wiki directly, they are \
|
||||
generated by pasting '''flashrom -z''' output.<br />\
|
||||
'''Last update:''' %s(generated by flashrom %s)\n</small></div>\n";
|
||||
|
||||
#if INTERNAL_SUPPORT == 1
|
||||
#if CONFIG_INTERNAL == 1
|
||||
const char *chipset_th = "{| border=\"0\" style=\"font-size: smaller\"\n\
|
||||
|- bgcolor=\"#6699dd\"\n! align=\"left\" | Vendor\n\
|
||||
! align=\"left\" | Southbridge\n! align=\"left\" | PCI IDs\n\
|
||||
@ -89,7 +89,7 @@ smaller\" valign=\"top\"\n|- bgcolor=\"#6699dd\"\n! align=\"left\" | Vendor\n\
|
||||
! align=\"left\" | Device\n! align=\"left\" | PCI IDs\n\
|
||||
! align=\"left\" | Status\n\n";
|
||||
|
||||
#if INTERNAL_SUPPORT == 1
|
||||
#if CONFIG_INTERNAL == 1
|
||||
const char *laptop_intro = "\n== Supported laptops/notebooks ==\n\n\
|
||||
In general, flashing laptops is more difficult because laptops\n\n\
|
||||
* often use the flash chip for stuff besides the BIOS,\n\
|
||||
@ -599,29 +599,29 @@ void print_supported_wiki(void)
|
||||
time_t t = time(NULL);
|
||||
|
||||
printf(wiki_header, ctime(&t), flashrom_version);
|
||||
#if INTERNAL_SUPPORT == 1
|
||||
#if CONFIG_INTERNAL == 1
|
||||
print_supported_chips_wiki(2);
|
||||
print_supported_chipsets_wiki(3);
|
||||
print_supported_boards_wiki();
|
||||
#endif
|
||||
printf("%s", programmer_section);
|
||||
#if NIC3COM_SUPPORT == 1
|
||||
#if CONFIG_NIC3COM == 1
|
||||
print_supported_pcidevs_wiki(nics_3com);
|
||||
#endif
|
||||
#if NICREALTEK_SUPPORT == 1
|
||||
#if CONFIG_NICREALTEK == 1
|
||||
print_supported_pcidevs_wiki(nics_realtek);
|
||||
print_supported_pcidevs_wiki(nics_realteksmc1211);
|
||||
#endif
|
||||
#if GFXNVIDIA_SUPPORT == 1
|
||||
#if CONFIG_GFXNVIDIA == 1
|
||||
print_supported_pcidevs_wiki(gfx_nvidia);
|
||||
#endif
|
||||
#if DRKAISER_SUPPORT == 1
|
||||
#if CONFIG_DRKAISER == 1
|
||||
print_supported_pcidevs_wiki(drkaiser_pcidev);
|
||||
#endif
|
||||
#if SATASII_SUPPORT == 1
|
||||
#if CONFIG_SATASII == 1
|
||||
print_supported_pcidevs_wiki(satas_sii);
|
||||
#endif
|
||||
#if ATAHPT_SUPPORT == 1
|
||||
#if CONFIG_ATAHPT == 1
|
||||
print_supported_pcidevs_wiki(ata_hpt);
|
||||
#endif
|
||||
printf("\n|}\n");
|
||||
|
Reference in New Issue
Block a user