summaryrefslogtreecommitdiff
path: root/src/flash/nor/drivers.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-11-11 14:12:31 +0800
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-11-16 09:16:11 +0100
commite7a8de17620cd24d0c28388d5851ce093297411c (patch)
tree61402b0ff25539a326e6d459dfbb1660bf0ed235 /src/flash/nor/drivers.c
parentfdae51287cf55a039f3401ed92151dbf518e4e7f (diff)
downloadopenocd+libswd-e7a8de17620cd24d0c28388d5851ce093297411c.tar.gz
openocd+libswd-e7a8de17620cd24d0c28388d5851ce093297411c.tar.bz2
openocd+libswd-e7a8de17620cd24d0c28388d5851ce093297411c.tar.xz
openocd+libswd-e7a8de17620cd24d0c28388d5851ce093297411c.zip
NOR/SPEAr: Add support for Serial NOR
Add support and documentation for STMicroelectronics SPEAr Serial Memory Interface (SMI). Code tested on SPEAr3xx only. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash/nor/drivers.c')
-rw-r--r--src/flash/nor/drivers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flash/nor/drivers.c b/src/flash/nor/drivers.c
index 68f2f88a..f89e3f06 100644
--- a/src/flash/nor/drivers.c
+++ b/src/flash/nor/drivers.c
@@ -40,6 +40,7 @@ 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.
@@ -65,6 +66,7 @@ static struct flash_driver *flash_drivers[] = {
&avr_flash,
&faux_flash,
&virtual_flash,
+ &spearsmi_flash,
NULL,
};