]> Git Repo - u-boot.git/blame - arch/arm/mach-rockchip/Makefile
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot.git] / arch / arm / mach-rockchip / Makefile
CommitLineData
83d290c5 1# SPDX-License-Identifier: GPL-2.0+
2444dae5
SG
2#
3# Copyright (c) 2014 Google, Inc
2444dae5 4
832567d5
PT
5# We don't want the bootrom-helper present in a full U-Boot build, as
6# this may have entered from ATF with the stack-pointer pointing to
7# inaccessible/protected memory (and the bootrom-helper assumes that
8# the stack-pointer is valid before switching to the U-Boot stack).
ecfd7189
PT
9obj-spl-$(CONFIG_ROCKCHIP_BROM_HELPER) += bootrom.o
10obj-tpl-$(CONFIG_ROCKCHIP_BROM_HELPER) += bootrom.o
832567d5 11
532cb7f5 12obj-tpl-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-tpl.o
a55e4971 13obj-tpl-$(CONFIG_ROCKCHIP_RK3368) += rk3368-board-tpl.o
832567d5
PT
14
15obj-spl-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board-spl.o
16obj-spl-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-spl.o
17obj-spl-$(CONFIG_ROCKCHIP_RK322X) += rk322x-board-spl.o
18obj-spl-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o
fbbd3800 19obj-spl-$(CONFIG_ROCKCHIP_RK3368) += rk3368-board-spl.o spl-boot-order.o
9b0bc593 20obj-spl-$(CONFIG_ROCKCHIP_RK3399) += rk3399-board-spl.o spl-boot-order.o
e1bc64ee 21
832567d5 22ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
e3067793 23
f07d76c0
PT
24# Always include boot_mode.o, as we bypass it (i.e. turn it off)
25# inside of boot_mode.c when CONFIG_BOOT_MODE_REG is 0. This way,
26# we can have the preprocessor correctly recognise both 0x0 and 0
27# meaning "turn it off".
e3067793 28obj-y += boot_mode.o
e3067793 29
df9041ec 30obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board.o
daeed1db 31obj-$(CONFIG_ROCKCHIP_RK3128) += rk3128-board.o
168eef7a 32obj-$(CONFIG_ROCKCHIP_RK322X) += rk322x-board.o
cd77fd1b 33obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board.o
f48f2b72 34obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board.o
e3067793 35obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399-board.o
2444dae5 36endif
832567d5
PT
37
38obj-$(CONFIG_$(SPL_TPL_)RAM) += sdram_common.o
39
ad8fe6b9 40ifndef CONFIG_ARM64
fd9e0fe0 41ifndef CONFIG_ROCKCHIP_RK3188
cc2244b8 42obj-y += rk_timer.o
ad8fe6b9 43endif
fd9e0fe0 44endif
0a2be69f 45
832567d5 46obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/
daeed1db 47obj-$(CONFIG_ROCKCHIP_RK3128) += rk3128/
96b9082c
PT
48ifndef CONFIG_TPL_BUILD
49obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188/
50endif
168eef7a 51obj-$(CONFIG_ROCKCHIP_RK322X) += rk322x/
041cdb5f 52obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/
85a3cfb8 53obj-$(CONFIG_ROCKCHIP_RK3328) += rk3328/
37a0c600 54obj-$(CONFIG_ROCKCHIP_RK3368) += rk3368/
a381bcf5 55obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399/
2c1e11dd 56obj-$(CONFIG_ROCKCHIP_RV1108) += rv1108/
832567d5
PT
57
58# Clear out SPL objects, in case this is a TPL build
59obj-spl-$(CONFIG_TPL_BUILD) =
60
61# Now add SPL/TPL objects back into the main build
62obj-$(CONFIG_SPL_BUILD) += $(obj-spl-y)
63obj-$(CONFIG_TPL_BUILD) += $(obj-tpl-y)
This page took 0.147809 seconds and 4 git commands to generate.