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/modnet50/Makefile b/board/modnet50/Makefile
index 7dbcc1c..ab2c376 100644
--- a/board/modnet50/Makefile
+++ b/board/modnet50/Makefile
@@ -26,7 +26,7 @@
LIB = lib$(BOARD).a
OBJS := modnet50.o flash.o
-SOBJS := memsetup.o
+SOBJS := lowlevel_init.o
$(LIB): $(OBJS) $(SOBJS)
$(AR) crv $@ $^
diff --git a/board/modnet50/memsetup.S b/board/modnet50/lowlevel_init.S
similarity index 98%
rename from board/modnet50/memsetup.S
rename to board/modnet50/lowlevel_init.S
index 674b1d2..c98c155 100644
--- a/board/modnet50/memsetup.S
+++ b/board/modnet50/lowlevel_init.S
@@ -51,8 +51,8 @@
#define NETARM_MMAP_CS4_MASK (~(PHYS_EXT_SIZE - 1))
/* setting up the memory */
-.globl memsetup
-memsetup:
+.globl lowlevel_init
+lowlevel_init:
#if defined(CONFIG_MODNET50)
ldr pc, =(_jump_to_high + NETARM_MMAP_CS0_BASE - TEXT_BASE)
@@ -187,7 +187,7 @@
#endif /* CONFIG_MODNET50 */
-memsetup_end:
+lowlevel_init_end:
/*
* manipulate address in lr and ip to match new
* address space