summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2010-10-28 10:08:16 +0100
committerSpencer Oliver <ntfreak@users.sourceforge.net>2010-10-28 10:08:16 +0100
commit4617cd0f911d64a460d99d25c531ddc55f2452ca (patch)
tree502e7ed643468bfc18276c896917fbb522ee2d5d /src/target
parent1fafb669c99744b986d85b5c4a4e276767898654 (diff)
downloadopenocd+libswd-4617cd0f911d64a460d99d25c531ddc55f2452ca.tar.gz
openocd+libswd-4617cd0f911d64a460d99d25c531ddc55f2452ca.tar.bz2
openocd+libswd-4617cd0f911d64a460d99d25c531ddc55f2452ca.tar.xz
openocd+libswd-4617cd0f911d64a460d99d25c531ddc55f2452ca.zip
src: add loader src description
- add comment where to find the various loaders src files. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'src/target')
-rw-r--r--src/target/armv4_5.c2
-rw-r--r--src/target/armv7m.c2
-rw-r--r--src/target/mips32.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/target/armv4_5.c b/src/target/armv4_5.c
index 07c8c6eb..ac7f6236 100644
--- a/src/target/armv4_5.c
+++ b/src/target/armv4_5.c
@@ -1307,6 +1307,8 @@ int arm_checksum_memory(struct target *target,
uint32_t i;
uint32_t exit_var = 0;
+ /* see contib/loaders/checksum/armv4_5_crc.s for src */
+
static const uint32_t arm_crc_code[] = {
0xE1A02000, /* mov r2, r0 */
0xE3E00000, /* mov r0, #0xffffffff */
diff --git a/src/target/armv7m.c b/src/target/armv7m.c
index a73a9bb4..03c9c7ac 100644
--- a/src/target/armv7m.c
+++ b/src/target/armv7m.c
@@ -562,6 +562,8 @@ int armv7m_checksum_memory(struct target *target,
struct reg_param reg_params[2];
int retval;
+ /* see contib/loaders/checksum/armv7m_crc.s for src */
+
static const uint16_t cortex_m3_crc_code[] = {
0x4602, /* mov r2, r0 */
0xF04F, 0x30FF, /* mov r0, #0xffffffff */
diff --git a/src/target/mips32.c b/src/target/mips32.c
index 24cd7d95..533701aa 100644
--- a/src/target/mips32.c
+++ b/src/target/mips32.c
@@ -613,6 +613,8 @@ int mips32_checksum_memory(struct target *target, uint32_t address,
int retval;
uint32_t i;
+ /* see contib/loaders/checksum/mips32.s for src */
+
static const uint32_t mips_crc_code[] =
{
0x248C0000, /* addiu $t4, $a0, 0 */