#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#include <flash/nor/core.h>
+#include "imp.h"
extern struct flash_driver lpc2000_flash;
extern struct flash_driver lpc288x_flash;
extern struct flash_driver pic32mx_flash;
extern struct flash_driver avr_flash;
extern struct flash_driver faux_flash;
+extern struct flash_driver virtual_flash;
+extern struct flash_driver spearsmi_flash;
/**
* The list of built-in flash drivers.
* @todo Make this dynamically extendable with loadable modules.
*/
-struct flash_driver *flash_drivers[] = {
+static struct flash_driver *flash_drivers[] = {
&lpc2000_flash,
&lpc288x_flash,
&lpc2900_flash,
&pic32mx_flash,
&avr_flash,
&faux_flash,
+ &virtual_flash,
+ &spearsmi_flash,
NULL,
};