BROM loads 4K of boot0 code (=bootstrap) make sure the first level bootcode fits...
[AROS.git] / arch / arm-sun4i / bootstrap / bootstrap.c
blob826f8be4894ac9dbf8271af862798de664d66da5
1 /*
2 Copyright © 2014, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
9 #define asmdelay(t) asm volatile("mov r0, %[value]\n1: sub r0, #1\nbne 1b\n"::[value] "i" (t) : "r0", "cc");
11 void __attribute__((noreturn, section(".bootstrap"))) bootstrap(void) {
13 asmdelay(200);
14 asmdelay(200);
16 while(1);