summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/crt0-pp.S2
-rw-r--r--firmware/target/arm/crt0.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/crt0-pp.S b/firmware/target/arm/crt0-pp.S
index 4e16df0f7a..2b54ed4148 100644
--- a/firmware/target/arm/crt0-pp.S
+++ b/firmware/target/arm/crt0-pp.S
@@ -213,7 +213,7 @@ cpu_init:
strhi r5, [r3], #4
bhi 1b
-#ifdef INIT_ATTR
+#ifdef HAVE_INIT_ATTR
/* copy init code to codec buffer */
ldr r2, =_initstart
ldr r3, =_initend
diff --git a/firmware/target/arm/crt0.S b/firmware/target/arm/crt0.S
index 6284bcb16c..cb8242c72e 100644
--- a/firmware/target/arm/crt0.S
+++ b/firmware/target/arm/crt0.S
@@ -83,7 +83,7 @@ newstart:
#endif
-#ifdef INIT_ATTR
+#ifdef HAVE_INIT_ATTR
/* copy init data to codec buffer */
/* must be done before bss is zeroed */
ldr r2, =_initcopy