2 # Copyright (c) 2014 Google, Inc
4 # SPDX-License-Identifier: GPL-2.0+
7 obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += bootrom.o
8 obj-$(CONFIG_$(SPL_TPL_)RAM) += sdram_common.o
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
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
29 obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/
31 ifndef CONFIG_TPL_BUILD
32 obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188/
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/