aboutsummaryrefslogtreecommitdiff
path: root/src/arch/ppc/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/ppc/lib')
-rw-r--r--src/arch/ppc/lib/c_start.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/ppc/lib/c_start.S b/src/arch/ppc/lib/c_start.S
index e88ce67f8c..a3b963dbc6 100644
--- a/src/arch/ppc/lib/c_start.S
+++ b/src/arch/ppc/lib/c_start.S
@@ -15,6 +15,7 @@
.globl _start
_start:
+#if CONFIG_USE_INIT == 0
/*
* init stack pointer to real ram now that memory is on
*/
@@ -106,3 +107,4 @@ __DTOR_LIST__:
.globl __DTOR_END__
__DTOR_END__:
blr
+#endif