ARM: UniPhier: add empty lowlevel_init to U-boot proper
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>
This commit is contained in:
parent
8cddc27965
commit
def3feb8cb
3 changed files with 13 additions and 4 deletions
|
@ -12,6 +12,7 @@ obj-y += ddrphy_training.o
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
|
obj-y += late_lowlevel_init.o
|
||||||
obj-$(CONFIG_BOARD_EARLY_INIT_F) += board_early_init_f.o
|
obj-$(CONFIG_BOARD_EARLY_INIT_F) += board_early_init_f.o
|
||||||
obj-$(CONFIG_DISPLAY_CPUINFO) += cpu_info.o
|
obj-$(CONFIG_DISPLAY_CPUINFO) += cpu_info.o
|
||||||
obj-$(CONFIG_MISC_INIT_F) += print_misc_info.o
|
obj-$(CONFIG_MISC_INIT_F) += print_misc_info.o
|
||||||
|
|
12
arch/arm/mach-uniphier/late_lowlevel_init.S
Normal file
12
arch/arm/mach-uniphier/late_lowlevel_init.S
Normal file
|
@ -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)
|
|
@ -276,10 +276,6 @@
|
||||||
#define CONFIG_SPL_TEXT_BASE 0x00100000
|
#define CONFIG_SPL_TEXT_BASE 0x00100000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_SPL_BUILD
|
|
||||||
#define CONFIG_SKIP_LOWLEVEL_INIT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CONFIG_SPL_STACK (0x0ff08000)
|
#define CONFIG_SPL_STACK (0x0ff08000)
|
||||||
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE)
|
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue