summaryrefslogtreecommitdiff
path: root/src/flash/nor/drivers.c
diff options
context:
space:
mode:
authorErik Botö <erik.boto@pelagicore.com>2011-01-10 19:13:52 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-01-14 14:56:46 +0100
commit4749a40821de2dcc88cc02d3b3ab5a5418e02c2e (patch)
treeb256a0d3b2299a328172cd7c0c7503be23ca101b /src/flash/nor/drivers.c
parent5b1efd0176c2e32a5f6766175e518ccfc45239a6 (diff)
downloadopenocd+libswd-4749a40821de2dcc88cc02d3b3ab5a5418e02c2e.tar.gz
openocd+libswd-4749a40821de2dcc88cc02d3b3ab5a5418e02c2e.tar.bz2
openocd+libswd-4749a40821de2dcc88cc02d3b3ab5a5418e02c2e.tar.xz
openocd+libswd-4749a40821de2dcc88cc02d3b3ab5a5418e02c2e.zip
Flash driver for em357
Hi, I took the stm32x NOR flash driver and adapted it for the Ember EM357 chip. This chip is very similar to em351 and stm32w so the driver should be easily extended to support those as well if anyone can get their hands on some of those for testing. changelog: Added NOR flash driver em357 Best regards, Erik Botö
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 a1a60b10..f4479f6c 100644
--- a/src/flash/nor/drivers.c
+++ b/src/flash/nor/drivers.c
@@ -41,6 +41,7 @@ extern struct flash_driver avr_flash;
extern struct flash_driver faux_flash;
extern struct flash_driver virtual_flash;
extern struct flash_driver stmsmi_flash;
+extern struct flash_driver em357_flash;
/**
* The list of built-in flash drivers.
@@ -67,6 +68,7 @@ static struct flash_driver *flash_drivers[] = {
&faux_flash,
&virtual_flash,
&stmsmi_flash,
+ &em357_flash,
NULL,
};