Skip to content

Commit 8918876

Browse files
committed
move at32..._flash
1 parent 2f4ddbd commit 8918876

File tree

2 files changed

+13
-17
lines changed

2 files changed

+13
-17
lines changed

src/flash/nor/driver.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,5 +314,18 @@ extern const struct flash_driver w600_flash;
314314
extern const struct flash_driver xcf_flash;
315315
extern const struct flash_driver xmc1xxx_flash;
316316
extern const struct flash_driver xmc4xxx_flash;
317+
extern const struct flash_driver at32f403xx_flash;
318+
extern const struct flash_driver at32f413xx_flash;
319+
extern const struct flash_driver at32f415xx_flash;
320+
extern const struct flash_driver at32f403axx_flash;
321+
extern const struct flash_driver at32f407xx_flash;
322+
extern const struct flash_driver at32wb415xx_flash;
323+
extern const struct flash_driver at32f421xx_flash;
324+
extern const struct flash_driver at32f425xx_flash;
325+
extern const struct flash_driver at32f435xx_flash;
326+
extern const struct flash_driver at32f437xx_flash;
327+
extern const struct flash_driver at32f423xx_flash;
328+
extern const struct flash_driver at32f4xx_flash;
329+
extern const struct flash_driver at32qspi_flash;
317330

318331
#endif /* OPENOCD_FLASH_NOR_DRIVER_H */

src/flash/nor/drivers.c

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,6 @@
99
#endif
1010
#include "imp.h"
1111

12-
extern const struct flash_driver at32f403xx_flash;
13-
extern const struct flash_driver at32f413xx_flash;
14-
extern const struct flash_driver at32f415xx_flash;
15-
extern const struct flash_driver at32f403axx_flash;
16-
extern const struct flash_driver at32f407xx_flash;
17-
extern const struct flash_driver at32wb415xx_flash;
18-
19-
extern const struct flash_driver at32f421xx_flash;
20-
extern const struct flash_driver at32f425xx_flash;
21-
extern const struct flash_driver at32f435xx_flash;
22-
extern const struct flash_driver at32f437xx_flash;
23-
extern const struct flash_driver at32f423xx_flash;
24-
extern const struct flash_driver at32f4xx_flash;
25-
extern const struct flash_driver at32qspi_flash;
26-
27-
2812
/**
2913
* The list of built-in flash drivers.
3014
* @todo Make this dynamically extendable with loadable modules.
@@ -107,7 +91,6 @@ static const struct flash_driver * const flash_drivers[] = {
10791
&xmc4xxx_flash,
10892
&w600_flash,
10993
&rsl10_flash,
110-
11194
&at32f403xx_flash,
11295
&at32f413xx_flash,
11396
&at32f415xx_flash,

0 commit comments

Comments
 (0)