mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
unsik Kim <donari75@gmail.com>:
Improve error handling in mflash driver. git-svn-id: svn://svn.berlios.de/openocd/trunk@2221 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -178,6 +178,13 @@ extern int mflash_init_drivers(struct command_context_s *cmd_ctx);
|
||||
|
||||
#define MG_FILEIO_CHUNK 1048576
|
||||
|
||||
#define ERROR_MG_IO (-1600)
|
||||
#define ERROR_MG_TIMEOUT (-1601)
|
||||
#define ERROR_MG_INVALID_PLL (-1603)
|
||||
#define ERROR_MG_INTERFACE (-1604)
|
||||
#define ERROR_MG_INVALID_OSC (-1605)
|
||||
#define ERROR_MG_UNSUPPORTED_SOC (-1606)
|
||||
|
||||
typedef enum _mg_io_type_wait{
|
||||
|
||||
mg_io_wait_bsy = 1,
|
||||
|
||||
Reference in New Issue
Block a user