summaryrefslogtreecommitdiff
path: root/src/flash/nor/drivers.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-11-22 12:21:31 +0800
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-11-23 08:37:34 +0100
commit42082f7c23ded282489e8ac6ec52fe94fa097cde (patch)
tree695b04978c9b5cf203d467540c54e6e1ffb337fc /src/flash/nor/drivers.c
parent4bbdf966d4afbf279550c7115c64e60d94ca3fe8 (diff)
downloadopenocd_libswd-42082f7c23ded282489e8ac6ec52fe94fa097cde.tar.gz
openocd_libswd-42082f7c23ded282489e8ac6ec52fe94fa097cde.tar.bz2
openocd_libswd-42082f7c23ded282489e8ac6ec52fe94fa097cde.tar.xz
openocd_libswd-42082f7c23ded282489e8ac6ec52fe94fa097cde.zip
FLASH/NOR: rename from spearsmi to stmsmi
STMicroelectronics controller SMI is not SPEAr specific. Rename it and change name to every symbol in the code. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash/nor/drivers.c')
-rw-r--r--src/flash/nor/drivers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/nor/drivers.c b/src/flash/nor/drivers.c
index f89e3f06..a1a60b10 100644
--- a/src/flash/nor/drivers.c
+++ b/src/flash/nor/drivers.c
@@ -40,7 +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;
+extern struct flash_driver stmsmi_flash;
/**
* The list of built-in flash drivers.
@@ -66,7 +66,7 @@ static struct flash_driver *flash_drivers[] = {
&avr_flash,
&faux_flash,
&virtual_flash,
- &spearsmi_flash,
+ &stmsmi_flash,
NULL,
};