summaryrefslogtreecommitdiff
path: root/src/svf
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2011-03-31 18:37:19 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-04-01 08:59:07 +0200
commit2615bf4398f393ee1e387128064093dcd44749c8 (patch)
treef9e610d2ec9e68438397114e6e13997a48b8e62e /src/svf
parentd76fd2aac798b4b052a50883ac148cbc19080d4a (diff)
downloadopenocd+libswd-2615bf4398f393ee1e387128064093dcd44749c8.tar.gz
openocd+libswd-2615bf4398f393ee1e387128064093dcd44749c8.tar.bz2
openocd+libswd-2615bf4398f393ee1e387128064093dcd44749c8.tar.xz
openocd+libswd-2615bf4398f393ee1e387128064093dcd44749c8.zip
types: write memory now uses const
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/svf')
-rw-r--r--src/svf/svf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svf/svf.c b/src/svf/svf.c
index 0cca768d..64be1270 100644
--- a/src/svf/svf.c
+++ b/src/svf/svf.c
@@ -219,7 +219,7 @@ static size_t svf_command_buffer_size = 0;
static int svf_line_number = 1;
static int svf_getline (char **lineptr, size_t *n, FILE *stream);
-#define SVF_MAX_BUFFER_SIZE_TO_COMMIT (4 * 1024)
+#define SVF_MAX_BUFFER_SIZE_TO_COMMIT (1024 * 1024)
static uint8_t *svf_tdi_buffer = NULL, *svf_tdo_buffer = NULL, *svf_mask_buffer = NULL;
static int svf_buffer_index = 0, svf_buffer_size = 0;
static int svf_quiet = 0;