]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-rockchip/Makefile
8a3cb9f7effd78c59be548bff0b96d2b75eaf7d1
[u-boot] / arch / arm / mach-rockchip / Makefile
1 #
2 # Copyright (c) 2014 Google, Inc
3 #
4 # SPDX-License-Identifier:      GPL-2.0+
5 #
6
7 obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += bootrom.o
8 obj-$(CONFIG_$(SPL_TPL_)RAM) += sdram_common.o
9
10 ifdef CONFIG_TPL_BUILD
11 obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-tpl.o
12 obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
13 else ifdef CONFIG_SPL_BUILD
14 obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board-spl.o
15 obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-spl.o
16 obj-$(CONFIG_ROCKCHIP_RK322X) += rk322x-board-spl.o
17 obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o
18 obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399-board-spl.o
19 obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
20 else
21 obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board.o
22 obj-$(CONFIG_ROCKCHIP_RK322X) += rk322x-board.o
23 obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board.o
24 obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board.o
25 endif
26 ifndef CONFIG_ARM64
27 obj-y += rk_timer.o
28 endif
29 obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/
30
31 ifndef CONFIG_TPL_BUILD
32 obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188/
33 endif
34
35 obj-$(CONFIG_ROCKCHIP_RK322X) += rk322x/
36 obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/
37 obj-$(CONFIG_ROCKCHIP_RK3328) += rk3328/
38 obj-$(CONFIG_ROCKCHIP_RK3368) += rk3368/
39 obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399/
40 obj-$(CONFIG_ROCKCHIP_RV1108) += rv1108/