summaryrefslogtreecommitdiff
path: root/src/target/target.h
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2011-03-17 03:22:12 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-03-17 07:25:25 +0100
commit33a17fd35995a7f679f92600055a8f55ae380022 (patch)
treeaeced6708919d4275600e4883e9566582e3c8d63 /src/target/target.h
parent582b4195a99a21caa9522713fae659621137e0f9 (diff)
downloadopenocd+libswd-33a17fd35995a7f679f92600055a8f55ae380022.tar.gz
openocd+libswd-33a17fd35995a7f679f92600055a8f55ae380022.tar.bz2
openocd+libswd-33a17fd35995a7f679f92600055a8f55ae380022.tar.xz
openocd+libswd-33a17fd35995a7f679f92600055a8f55ae380022.zip
Fix a bunch of typos.
Fix a bunch of typos. Most are in code comments, so nothing should break. UNKOWN_COMMAND and CMD_UNKOWN are not used elsewhere, so correcting the spelling should also not break anything.
Diffstat (limited to 'src/target/target.h')
-rw-r--r--src/target/target.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/target.h b/src/target/target.h
index 2bf96689..d6e7431e 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -84,7 +84,7 @@ enum target_debug_reason
DBG_REASON_UNDEFINED = 6
};
-enum target_endianess
+enum target_endianness
{
TARGET_ENDIAN_UNKNOWN = 0,
TARGET_BIG_ENDIAN = 1, TARGET_LITTLE_ENDIAN = 2
@@ -139,7 +139,7 @@ struct target
uint32_t backup_working_area; /* whether the content of the working area has to be preserved */
struct working_area *working_areas;/* list of allocated working areas */
enum target_debug_reason debug_reason;/* reason why the target entered debug state */
- enum target_endianess endianness; /* target endianess */
+ enum target_endianness endianness; /* target endianness */
// also see: target_state_name()
enum target_state state; /* the current backend-state (running, halted, ...) */
struct reg_cache *reg_cache; /* the first register cache of the target (core regs) */