2 # Copyright (c) 2014 Google, Inc
4 # SPDX-License-Identifier: GPL-2.0+
7 obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += bootrom.o
10 obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-tpl.o
11 obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
12 else ifdef CONFIG_SPL_BUILD
13 obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board-spl.o
14 obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-spl.o
15 obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o
16 obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399-board-spl.o
17 obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
19 obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board.o
20 obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board.o
21 obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board.o
26 obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/
28 ifndef CONFIG_TPL_BUILD
29 obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188/
32 obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/
33 obj-$(CONFIG_ROCKCHIP_RK3328) += rk3328/
34 obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399/