summaryrefslogtreecommitdiff
path: root/src/flash/nor/str9x.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-04 19:21:14 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-04 19:21:14 -0800
commit0073e7a69e55eb435fc2e274ba245a27779963e4 (patch)
tree137d7a8f1bbdd53cebebdae49e91627679d476c1 /src/flash/nor/str9x.c
parent31e3ea7c19d39589ac9a8b2220331206b6d1e25c (diff)
downloadopenocd+libswd-0073e7a69e55eb435fc2e274ba245a27779963e4.tar.gz
openocd+libswd-0073e7a69e55eb435fc2e274ba245a27779963e4.tar.bz2
openocd+libswd-0073e7a69e55eb435fc2e274ba245a27779963e4.tar.xz
openocd+libswd-0073e7a69e55eb435fc2e274ba245a27779963e4.zip
ARM: rename ARMV4_5_MODE_* as ARM_MODE_*
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/flash/nor/str9x.c')
-rw-r--r--src/flash/nor/str9x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/str9x.c b/src/flash/nor/str9x.c
index 21760f33..60367cb9 100644
--- a/src/flash/nor/str9x.c
+++ b/src/flash/nor/str9x.c
@@ -409,7 +409,7 @@ static int str9x_write_block(struct flash_bank *bank,
}
armv4_5_info.common_magic = ARMV4_5_COMMON_MAGIC;
- armv4_5_info.core_mode = ARMV4_5_MODE_SVC;
+ armv4_5_info.core_mode = ARM_MODE_SVC;
armv4_5_info.core_state = ARM_STATE_ARM;
init_reg_param(&reg_params[0], "r0", 32, PARAM_OUT);