diff options
Diffstat (limited to 'cpu/s3c44b0')
-rw-r--r-- | cpu/s3c44b0/start.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpu/s3c44b0/start.S b/cpu/s3c44b0/start.S index fc7f59228a..7affe87b3a 100644 --- a/cpu/s3c44b0/start.S +++ b/cpu/s3c44b0/start.S @@ -112,7 +112,7 @@ reset: * not when booting from ram! */ -#ifdef CONFIG_INIT_CRITICAL +#ifndef CONFIG_SKIP_LOWLEVEL_INIT bl cpu_init_crit /* * before relocating, we have to setup RAM timing @@ -122,6 +122,7 @@ reset: bl lowlevel_init #endif +#ifndef CONFIG_SKIP_RELOCATE_UBOOT relocate: /* relocate U-Boot to RAM */ adr r0, _start /* r0 <- current position of code */ ldr r1, _TEXT_BASE /* test if we run from flash or RAM */ @@ -151,6 +152,7 @@ vector_copy_loop: stmia r1!, {r3-r10} cmp r0, r2 ble vector_copy_loop +#endif /* CONFIG_SKIP_RELOCATE_UBOOT */ /* Set up the stack */ stack_setup: |