xref: /aosp_15_r20/external/flashrom/programmer_table.c (revision 0d6140be3aa665ecc836e8907834fcd3e3b018fc)
1 /*
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 
17 const 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_NIC3COM == 1
28     &programmer_nic3com,
29 #endif
30 
31 #if CONFIG_NICREALTEK == 1
32     &programmer_nicrealtek,
33 #endif
34 
35 #if CONFIG_NICNATSEMI == 1
36     &programmer_nicnatsemi,
37 #endif
38 
39 #if CONFIG_GFXNVIDIA == 1
40     &programmer_gfxnvidia,
41 #endif
42 
43 #if CONFIG_RAIDEN_DEBUG_SPI == 1
44     &programmer_raiden_debug_spi,
45 #endif
46 
47 #if CONFIG_DRKAISER == 1
48     &programmer_drkaiser,
49 #endif
50 
51 #if CONFIG_SATASII == 1
52     &programmer_satasii,
53 #endif
54 
55 #if CONFIG_ASM106X == 1
56     &programmer_asm106x,
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_RAYER_SPI == 1
96     &programmer_rayer_spi,
97 #endif
98 
99 #if CONFIG_PONY_SPI == 1
100     &programmer_pony_spi,
101 #endif
102 
103 #if CONFIG_NICINTEL == 1
104     &programmer_nicintel,
105 #endif
106 
107 #if CONFIG_NICINTEL_SPI == 1
108     &programmer_nicintel_spi,
109 #endif
110 
111 #if CONFIG_NICINTEL_EEPROM == 1
112     &programmer_nicintel_eeprom,
113 #endif
114 
115 #if CONFIG_OGP_SPI == 1
116     &programmer_ogp_spi,
117 #endif
118 
119 #if CONFIG_SATAMV == 1
120     &programmer_satamv,
121 #endif
122 
123 #if CONFIG_LINUX_MTD == 1
124     &programmer_linux_mtd,
125 #endif
126 
127 #if CONFIG_LINUX_SPI == 1
128     &programmer_linux_spi,
129 #endif
130 
131 #if CONFIG_PARADE_LSPCON == 1
132     &programmer_parade_lspcon,
133 #endif
134 
135 #if CONFIG_MEDIATEK_I2C_SPI == 1
136     &programmer_mediatek_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_CH347_SPI == 1
160     &programmer_ch347_spi,
161 #endif
162 
163 #if CONFIG_DIGILENT_SPI == 1
164     &programmer_digilent_spi,
165 #endif
166 
167 #if CONFIG_JLINK_SPI == 1
168     &programmer_jlink_spi,
169 #endif
170 
171 #if CONFIG_NI845X_SPI == 1
172     &programmer_ni845x_spi,
173 #endif
174 
175 #if CONFIG_STLINKV3_SPI == 1
176     &programmer_stlinkv3_spi,
177 #endif
178 
179 #if CONFIG_CROS_EC == 1
180     &programmer_cros_ec,
181 #endif
182 
183 #if CONFIG_DIRTYJTAG_SPI == 1
184     &programmer_dirtyjtag_spi,
185 #endif
186 
187 };
188 
189 const size_t programmer_table_size = ARRAY_SIZE(programmer_table);
190