summaryrefslogtreecommitdiff
path: root/src/flash/arm_nandio.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-04 19:46:44 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-04 19:46:44 -0800
commite51b9a4ac7afa0fde11690268ba88861e1000f60 (patch)
tree2229325eacf3f176ad9dd37df5d85e3b753aa443 /src/flash/arm_nandio.c
parent87589043faf8cdb954c602c988698c40fcf9c108 (diff)
downloadopenocd_libswd-e51b9a4ac7afa0fde11690268ba88861e1000f60.tar.gz
openocd_libswd-e51b9a4ac7afa0fde11690268ba88861e1000f60.tar.bz2
openocd_libswd-e51b9a4ac7afa0fde11690268ba88861e1000f60.tar.xz
openocd_libswd-e51b9a4ac7afa0fde11690268ba88861e1000f60.zip
ARM: ARMV4_5_COMMON_MAGIC --> ARM_COMMON_MAGIC
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/flash/arm_nandio.c')
-rw-r--r--src/flash/arm_nandio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/arm_nandio.c b/src/flash/arm_nandio.c
index 3991c0fb..12c4b2f9 100644
--- a/src/flash/arm_nandio.c
+++ b/src/flash/arm_nandio.c
@@ -136,7 +136,7 @@ int arm_nandwrite(struct arm_nand_data *nand, uint8_t *data, int size)
return retval;
/* set up algorithm and parameters */
- algo.common_magic = ARMV4_5_COMMON_MAGIC;
+ algo.common_magic = ARM_COMMON_MAGIC;
algo.core_mode = ARM_MODE_SVC;
algo.core_state = ARM_STATE_ARM;
@@ -212,7 +212,7 @@ int arm_nandread(struct arm_nand_data *nand, uint8_t *data, uint32_t size)
target_buf = nand->copy_area->address + sizeof(code);
/* set up algorithm and parameters */
- algo.common_magic = ARMV4_5_COMMON_MAGIC;
+ algo.common_magic = ARM_COMMON_MAGIC;
algo.core_mode = ARM_MODE_SVC;
algo.core_state = ARM_STATE_ARM;