diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/qoriq')
-rw-r--r-- | c/src/lib/libbsp/powerpc/qoriq/start/start.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/qoriq/start/start.S b/c/src/lib/libbsp/powerpc/qoriq/start/start.S index 7d74bd1424..97ea28b39b 100644 --- a/c/src/lib/libbsp/powerpc/qoriq/start/start.S +++ b/c/src/lib/libbsp/powerpc/qoriq/start/start.S @@ -20,6 +20,8 @@ * http://www.rtems.com/license/LICENSE. */ +#include <rtems/asm.h> + #include <bspopts.h> #include <libcpu/powerpc-utility.h> @@ -32,7 +34,9 @@ #define UBOOT_BOARD_INFO r15 .globl _start +#ifdef RTEMS_SMP .globl _start_core_1 +#endif .globl bsp_exc_vector_base .section ".bsp_start_text", "ax" @@ -170,6 +174,7 @@ copy: beqlr b memcpy +#ifdef RTEMS_SMP _start_core_1: /* Reset time base */ @@ -218,6 +223,7 @@ _start_core_1: b qoriq_secondary_cpu_initialize b twiddle +#endif /* RTEMS_SMP */ /* Exception vector prologues area */ .section ".bsp_start_text", "ax" |