summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/loaders/checksum/armv7m_crc.s2
-rw-r--r--contrib/loaders/flash/armv7m_cfi_span_16.s8
2 files changed, 6 insertions, 4 deletions
diff --git a/contrib/loaders/checksum/armv7m_crc.s b/contrib/loaders/checksum/armv7m_crc.s
index e50db0a7..4a1e8b4a 100644
--- a/contrib/loaders/checksum/armv7m_crc.s
+++ b/contrib/loaders/checksum/armv7m_crc.s
@@ -26,7 +26,7 @@
.text
.syntax unified
- .cpu cortex-m3
+ .arch armv7-m
.thumb
.thumb_func
diff --git a/contrib/loaders/flash/armv7m_cfi_span_16.s b/contrib/loaders/flash/armv7m_cfi_span_16.s
index 7a9923f0..ee3aa579 100644
--- a/contrib/loaders/flash/armv7m_cfi_span_16.s
+++ b/contrib/loaders/flash/armv7m_cfi_span_16.s
@@ -21,10 +21,12 @@
***************************************************************************/
.text
- .arm
- .arch armv4
+ .syntax unified
+ .arch armv7-m
+ .thumb
+ .thumb_func
- .section .init
+ .align 2
/* input parameters - */
/* R0 = source address */