blob: e7f2c985a47fe4665807294dec317fa2b3eb2372 [file] [log] [blame]
Thomas Heijligen9e090952021-03-31 20:40:01 +02001/*
2 * This file is part of the flashrom project.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 */
14
15#include "programmer.h"
16
Thomas Heijligendee884e2021-03-31 19:09:44 +020017const struct programmer_entry *const programmer_table[] = {
18
19#if CONFIG_INTERNAL == 1
20 &programmer_internal,
21#endif
22
23#if CONFIG_DUMMY == 1
24 &programmer_dummy,
25#endif
26
27#if CONFIG_MEC1308 == 1
28 &programmer_mec1308,
29#endif
30
31#if CONFIG_NIC3COM == 1
32 &programmer_nic3com,
33#endif
34
35#if CONFIG_NICREALTEK == 1
36 & programmer_nicrealtek,
37#endif
38
39#if CONFIG_NICNATSEMI == 1
40 &programmer_nicnatsemi,
41#endif
42
43#if CONFIG_GFXNVIDIA == 1
44 &programmer_gfxnvidia,
45#endif
46
47#if CONFIG_RAIDEN_DEBUG_SPI == 1
48 &programmer_raiden_debug_spi,
49#endif
50
51#if CONFIG_DRKAISER == 1
52 &programmer_drkaiser,
53#endif
54
55#if CONFIG_SATASII == 1
56 &programmer_satasii,
57#endif
58
59#if CONFIG_ATAHPT == 1
60 &programmer_atahpt,
61#endif
62
63#if CONFIG_ATAVIA == 1
64 &programmer_atavia,
65#endif
66
67#if CONFIG_ATAPROMISE == 1
68 &programmer_atapromise,
69#endif
70
71#if CONFIG_IT8212 == 1
72 &programmer_it8212,
73#endif
74
75#if CONFIG_FT2232_SPI == 1
76 &programmer_ft2232_spi,
77#endif
78
79#if CONFIG_SERPROG == 1
80 &programmer_serprog,
81#endif
82
83#if CONFIG_BUSPIRATE_SPI == 1
84 &programmer_buspirate_spi,
85#endif
86
87#if CONFIG_DEDIPROG == 1
88 &programmer_dediprog,
89#endif
90
91#if CONFIG_DEVELOPERBOX_SPI == 1
92 &programmer_developerbox,
93#endif
94
95#if CONFIG_ENE_LPC == 1
96 &programmer_ene_lpc,
97#endif
98
99#if CONFIG_RAYER_SPI == 1
100 &programmer_rayer_spi,
101#endif
102
103#if CONFIG_PONY_SPI == 1
104 &programmer_pony_spi,
105#endif
106
107#if CONFIG_NICINTEL == 1
108 &programmer_nicintel,
109#endif
110
111#if CONFIG_NICINTEL_SPI == 1
112 &programmer_nicintel_spi,
113#endif
114
115#if CONFIG_NICINTEL_EEPROM == 1
116 &programmer_nicintel_eeprom,
117#endif
118
119#if CONFIG_OGP_SPI == 1
120 &programmer_ogp_spi,
121#endif
122
123#if CONFIG_SATAMV == 1
124 &programmer_satamv,
125#endif
126
127#if CONFIG_LINUX_MTD == 1
128 &programmer_linux_mtd,
129#endif
130
131#if CONFIG_LINUX_SPI == 1
132 &programmer_linux_spi,
133#endif
134
135#if CONFIG_LSPCON_I2C_SPI == 1
136 &programmer_lspcon_i2c_spi,
137#endif
138
139#if CONFIG_REALTEK_MST_I2C_SPI == 1
140 &programmer_realtek_mst_i2c_spi,
141#endif
142
143#if CONFIG_USBBLASTER_SPI == 1
144 &programmer_usbblaster_spi,
145#endif
146
147#if CONFIG_MSTARDDC_SPI == 1
148 &programmer_mstarddc_spi,
149#endif
150
151#if CONFIG_PICKIT2_SPI == 1
152 &programmer_pickit2_spi,
153#endif
154
155#if CONFIG_CH341A_SPI == 1
156 &programmer_ch341a_spi,
157#endif
158
159#if CONFIG_DIGILENT_SPI == 1
160 &programmer_digilent_spi,
161#endif
162
163#if CONFIG_JLINK_SPI == 1
164 &programmer_jlink_spi,
165#endif
166
167#if CONFIG_NI845X_SPI == 1
168 &programmer_ni845x_spi,
169#endif
170
171#if CONFIG_STLINKV3_SPI == 1
172 &programmer_stlinkv3_spi,
Thomas Heijligen9e090952021-03-31 20:40:01 +0200173#endif
174};
175
176const size_t programmer_table_size = ARRAY_SIZE(programmer_table);