mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
bcc1726a7b
ATF(ARM Trusted Firmware) is used by ARM arch64 SoCs, find more infomation about ATF at: https://github.com/ARM-software/arm-trusted-firmware SPL is considered as BL2 in ATF terminology, it needs to load other parts of ATF binary like BL31, BL32, SCP-BL30, and BL33(U-Boot). And needs to prepare the parameter for BL31 which including entry and image information for all other images. Then the SPL handle PC to BL31 with the parameter, the BL31 will do the rest of work and at last get into U-Boot(BL33). This patch needs work with patches from Andre for SPL support multi binary in FIT. The entry point of bl31 and bl33 are still using hard code because we still can not get them from the FIT image information. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Tested-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
31 lines
961 B
Makefile
31 lines
961 B
Makefile
#
|
|
# (C) Copyright 2012
|
|
# Texas Instruments Incorporated - http://www.ti.com/
|
|
# Aneesh V <aneesh@ti.com>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Based on common/Makefile.
|
|
#
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_SPL_FRAMEWORK) += spl.o
|
|
obj-$(CONFIG_SPL_LOAD_FIT) += spl_fit.o
|
|
obj-$(CONFIG_SPL_NOR_SUPPORT) += spl_nor.o
|
|
obj-$(CONFIG_SPL_YMODEM_SUPPORT) += spl_ymodem.o
|
|
ifndef CONFIG_SPL_UBI
|
|
obj-$(CONFIG_SPL_NAND_SUPPORT) += spl_nand.o
|
|
obj-$(CONFIG_SPL_ONENAND_SUPPORT) += spl_onenand.o
|
|
endif
|
|
obj-$(CONFIG_SPL_UBI) += spl_ubi.o
|
|
obj-$(CONFIG_SPL_NET_SUPPORT) += spl_net.o
|
|
obj-$(CONFIG_SPL_MMC_SUPPORT) += spl_mmc.o
|
|
obj-$(CONFIG_SPL_ATF_SUPPORT) += spl_atf.o
|
|
obj-$(CONFIG_SPL_USB_SUPPORT) += spl_usb.o
|
|
obj-$(CONFIG_SPL_FAT_SUPPORT) += spl_fat.o
|
|
obj-$(CONFIG_SPL_EXT_SUPPORT) += spl_ext.o
|
|
obj-$(CONFIG_SPL_SATA_SUPPORT) += spl_sata.o
|
|
obj-$(CONFIG_SPL_DFU_SUPPORT) += spl_dfu.o
|
|
obj-$(CONFIG_SPL_SPI_LOAD) += spl_spi.o
|
|
obj-$(CONFIG_SPL_RAM_SUPPORT) += spl_ram.o
|
|
endif
|