]> git.sur5r.net Git - u-boot/commitdiff
ARM: UniPhier: add empty lowlevel_init to U-boot proper
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 22 Mar 2015 15:07:29 +0000 (00:07 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 23 Mar 2015 15:15:48 +0000 (00:15 +0900)
To remove the ifdef conditional of CONFIG_SKIP_LOWLEVEL_INIT,
add late_lowlevel_init.S to U-Boot proper.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/Makefile
arch/arm/mach-uniphier/late_lowlevel_init.S [new file with mode: 0644]
include/configs/uniphier.h

index e7a801b2acecef48108c8d70f0998a184a17233f..f191aa3d76df8257f5cbad85929b568d41144299 100644 (file)
@@ -12,6 +12,7 @@ obj-y += ddrphy_training.o
 
 else
 
+obj-y += late_lowlevel_init.o
 obj-$(CONFIG_BOARD_EARLY_INIT_F) += board_early_init_f.o
 obj-$(CONFIG_DISPLAY_CPUINFO) += cpu_info.o
 obj-$(CONFIG_MISC_INIT_F) += print_misc_info.o
diff --git a/arch/arm/mach-uniphier/late_lowlevel_init.S b/arch/arm/mach-uniphier/late_lowlevel_init.S
new file mode 100644 (file)
index 0000000..22be2a2
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+ * Copyright (C) 2015 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
+ *
+ * SPDX-License-Identifier:    GPL-2.0+
+ */
+
+#include <linux/linkage.h>
+
+ENTRY(lowlevel_init)
+       mov     pc, lr
+ENDPROC(lowlevel_init)
index ba89a425a8498c46e3b9c6e0a6809c9ce419f9c9..d4688c54bab94125009ff8db8d71539c801be19d 100644 (file)
 #define CONFIG_SPL_TEXT_BASE           0x00100000
 #endif
 
-#ifndef CONFIG_SPL_BUILD
-#define CONFIG_SKIP_LOWLEVEL_INIT
-#endif
-
 #define CONFIG_SPL_STACK               (0x0ff08000)
 #define CONFIG_SYS_INIT_SP_ADDR                (CONFIG_SYS_TEXT_BASE)