Prepare for SoC rework of ARM code:
- rename CONFIG_BOOTBINFUNC into CONFIG_INIT_CRITICAL
- rename memsetup into lowlevel_init (function name and source files)
diff --git a/board/xm250/Makefile b/board/xm250/Makefile
index 3572f72..1b0a3f0 100644
--- a/board/xm250/Makefile
+++ b/board/xm250/Makefile
@@ -26,7 +26,7 @@
LIB = lib$(BOARD).a
OBJS := xm250.o flash.o
-SOBJS := memsetup.o
+SOBJS := lowlevel_init.o
$(LIB): $(OBJS) $(SOBJS)
$(AR) crv $@ $^
diff --git a/board/xm250/memsetup.S b/board/xm250/lowlevel_init.S
similarity index 98%
rename from board/xm250/memsetup.S
rename to board/xm250/lowlevel_init.S
index f68e843..2ebd395 100644
--- a/board/xm250/memsetup.S
+++ b/board/xm250/lowlevel_init.S
@@ -43,8 +43,8 @@
.endm
*/
-.globl memsetup
-memsetup:
+.globl lowlevel_init
+lowlevel_init:
mov r10, lr
@@ -516,4 +516,4 @@
mov pc, r10
-@ End memsetup
+@ End lowlevel_init