mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 01:19:49 +00:00
df9041ec72
The rk3188 needs 3 U-Boot stages: a tpl living in 1KB of sram, a spl the resides in the rest of the sram and loads the regular U-Boot living in regular ram. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Kever Yang <kever.yang@rock-chips.com>
30 lines
844 B
Makefile
30 lines
844 B
Makefile
#
|
|
# Copyright (c) 2014 Google, Inc
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
ifdef CONFIG_TPL_BUILD
|
|
obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-tpl.o
|
|
obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
|
|
else ifdef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board-spl.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-spl.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o
|
|
obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
|
|
else
|
|
obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board.o
|
|
endif
|
|
ifndef CONFIG_ARM64
|
|
obj-y += rk_timer.o
|
|
endif
|
|
obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/
|
|
|
|
ifndef CONFIG_TPL_BUILD
|
|
obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188/
|
|
endif
|
|
|
|
obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/
|
|
obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399/
|