mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 17:07:38 +00:00
984639039f
The current name is inconsistent with SPL which uses CONFIG_SPL_TEXT_BASE and this makes it imposible to use CONFIG_VAL(). Rename it to resolve this problem. Signed-off-by: Simon Glass <sjg@chromium.org>
34 lines
939 B
Makefile
34 lines
939 B
Makefile
# Copyright 2015 Texas Instruments Incorporated, <www.ti.com>
|
|
#
|
|
# Lokesh Vutla <lokeshvutla@ti.com>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
include $(srctree)/arch/arm/mach-omap2/config_secure.mk
|
|
|
|
ifndef CONFIG_SPL_BUILD
|
|
ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
|
|
INPUTS-y += u-boot_HS_MLO
|
|
else
|
|
INPUTS-y += MLO
|
|
endif
|
|
endif
|
|
|
|
MKIMAGEFLAGS_u-boot-spl.gph = -A $(ARCH) -T gpimage -C none \
|
|
-a $(CONFIG_SPL_TEXT_BASE) -e $(CONFIG_SPL_TEXT_BASE) -n SPL
|
|
spl/u-boot-spl.gph: spl/u-boot-spl.bin FORCE
|
|
$(call if_changed,mkimage)
|
|
|
|
OBJCOPYFLAGS_u-boot-spi.gph = -I binary -O binary --pad-to=$(CONFIG_SPL_PAD_TO) \
|
|
--gap-fill=0
|
|
u-boot-spi.gph: spl/u-boot-spl.gph u-boot.img FORCE
|
|
$(call if_changed,pad_cat)
|
|
|
|
ifndef CONFIG_SPL_BUILD
|
|
MKIMAGEFLAGS_MLO = -A $(ARCH) -T gpimage -C none \
|
|
-a $(CONFIG_TEXT_BASE) -e $(CONFIG_TEXT_BASE) -n U-Boot
|
|
MLO: u-boot.bin FORCE
|
|
$(call if_changed,mkimage)
|
|
@dd if=/dev/zero bs=8 count=1 2>/dev/null >> $@
|
|
endif
|