diff options
author | Tom Rini <trini@konsulko.com> | 2022-05-28 12:40:40 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-06-06 12:09:29 -0400 |
commit | dc22afb975fc4e4d99f1f8b47318c66867cec42c (patch) | |
tree | 600dbfe17ba6db682fc97429f59b74fc7f5870a4 /arch/arm/Makefile | |
parent | c8836dbb01f2f891c407b3f9e2d3238267c0452e (diff) | |
download | u-boot-dc22afb975fc4e4d99f1f8b47318c66867cec42c.zip u-boot-dc22afb975fc4e4d99f1f8b47318c66867cec42c.tar.gz u-boot-dc22afb975fc4e4d99f1f8b47318c66867cec42c.tar.bz2 |
spl: Remove CONFIG_SPL_START_S_PATH and rework the logic behind it
In some cases, when we don't use CONFIG_SPL_FRAMEWORK nor are we on
PowerPC using their specific SPL/TPL framework, we need to specify the
start.S file to use for these typically very constrained systems. Do
this within the Makefile logic, rather than introducing a string-based
CONFIG option, as this would get slightly complex to do in Kconfig for a
very limited number of users.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r-- | arch/arm/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 85c23bc..4afa8e4 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -103,8 +103,8 @@ libs-y += $(machdirs) head-y := arch/arm/cpu/$(CPU)/start.o ifeq ($(CONFIG_SPL_BUILD),y) -ifneq ($(CONFIG_SPL_START_S_PATH),) -head-y := $(CONFIG_SPL_START_S_PATH:"%"=%)/start.o +ifeq ($(CONFIG_SYS_SOC)$(CONFIG_SPL_FRAMEWORK),"mxs") +head-y := arch/arm/cpu/arm926ejs/mxs/start.o endif endif |