diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-03-19 22:06:01 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-03-21 19:13:49 +0100 |
commit | 5dcad2d34fc40659018da2cf75ceeacd3abea860 (patch) | |
tree | e3beca76ee6390f68ccb443843ea0a2e99d6dd76 /src/jtag/jtag.h | |
parent | 96949890ee29ab4b3ca15802302c5d93358b69e1 (diff) | |
download | riscv-openocd-5dcad2d34fc40659018da2cf75ceeacd3abea860.zip riscv-openocd-5dcad2d34fc40659018da2cf75ceeacd3abea860.tar.gz riscv-openocd-5dcad2d34fc40659018da2cf75ceeacd3abea860.tar.bz2 |
jtag: make out_value const
Tightens up the jtag_add_xxx_scan() API
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/jtag/jtag.h')
-rw-r--r-- | src/jtag/jtag.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h index a6d16e9..cdc02ab 100644 --- a/src/jtag/jtag.h +++ b/src/jtag/jtag.h @@ -2,7 +2,7 @@ * Copyright (C) 2005 by Dominic Rath * * Dominic.Rath@gmx.de * * * -* Copyright (C) 2007,2008 Øyvind Harboe * +* Copyright (C) 2007-2010 Øyvind Harboe * * oyvind.harboe@zylin.com * * * * This program is free software; you can redistribute it and/or modify * @@ -112,7 +112,7 @@ struct scan_field { /// The number of bits this field specifies (up to 32) int num_bits; /// A pointer to value to be scanned into the device - uint8_t* out_value; + const uint8_t* out_value; /// A pointer to a 32-bit memory location for data scanned out uint8_t* in_value; |