aboutsummaryrefslogtreecommitdiff
path: root/src/target/cortex_m.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2016-05-14 20:21:49 +0200
committerFreddie Chopin <freddie.chopin@gmail.com>2016-05-20 21:38:03 +0100
commit0c8ec7c826c60391034fe5f0ea90f8538ac94b38 (patch)
tree3f1bf74454812f49bf5f2994a6eddc41677c99d8 /src/target/cortex_m.c
parentf630fac2e72af502d12139fdc864a01a4da7c868 (diff)
downloadriscv-openocd-0c8ec7c826c60391034fe5f0ea90f8538ac94b38.zip
riscv-openocd-0c8ec7c826c60391034fe5f0ea90f8538ac94b38.tar.gz
riscv-openocd-0c8ec7c826c60391034fe5f0ea90f8538ac94b38.tar.bz2
Fix spelling of ARM Cortex
It's Cortex-Xn, not Cortex Xn or cortex xn or cortex-xn or CORTEX-Xn or CortexXn. Further it's Cortex-M0+, not M0plus. Cf. http://www.arm.com/products/processors/index.php Consistently write it the official way, so that it stops propagating. Originally spotted in the documentation, it mainly affects code comments but also Atmel SAM3/SAM4/SAMV, NiietCM4 and SiM3x flash driver output. Found via: git grep -i "Cortex " git grep -i "Cortex-" | grep -v "Cortex-" | grep -v ".cpu" git grep -i "CortexM" Change-Id: Ic7b6ca85253e027f6f0f751c628d1a2a391fe914 Signed-off-by: Andreas Färber <afaerber@suse.de> Reviewed-on: http://openocd.zylin.com/3483 Tested-by: jenkins Reviewed-by: Marc Schink <openocd-dev@marcschink.de> Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'src/target/cortex_m.c')
-rw-r--r--src/target/cortex_m.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/cortex_m.c b/src/target/cortex_m.c
index 32b46d3..29f0cdd 100644
--- a/src/target/cortex_m.c
+++ b/src/target/cortex_m.c
@@ -1932,7 +1932,7 @@ int cortex_m_examine(struct target *target)
}
LOG_DEBUG("cpuid: 0x%8.8" PRIx32 "", cpuid);
- /* test for floating point feature on cortex-m4 */
+ /* test for floating point feature on Cortex-M4 */
if (i == 4) {
target_read_u32(target, MVFR0, &mvfr0);
target_read_u32(target, MVFR1, &mvfr1);