summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-03-03 23:52:36 +0000
committerThomas Martitz <kugel@rockbox.org>2010-03-03 23:52:36 +0000
commit9b810734f8251fabbecdcf68abdd598c3d4d7ffc (patch)
treecf4f17edc7af1c728acaa95cd92bb1b84eead688 /firmware/target
parent617ff557e8f15c6ee644cee2654eac7d783e4faf (diff)
Really fix bootloaders now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25017 a1c6a512-1295-4272-9138-f99709370657
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