blob: 6b251c7e7e953e9b97ecea45a7a18df38706fe4f [file] [log] [blame]
Simon Glass2444dae2015-08-30 16:55:38 -06001#
2# Copyright (c) 2014 Google, Inc
3#
4# SPDX-License-Identifier: GPL-2.0+
5#
6
Heiko Stübnerdf9041e2017-02-18 19:46:38 +01007ifdef CONFIG_TPL_BUILD
8obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-tpl.o
9obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
10else ifdef CONFIG_SPL_BUILD
huang linbe1d5e02015-11-17 14:20:27 +080011obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board-spl.o
Heiko Stübnerdf9041e2017-02-18 19:46:38 +010012obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-spl.o
Heiko Stübner041cdb52016-07-16 00:17:15 +020013obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o
Kever Yang3012a842017-02-23 16:09:05 +080014obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399-board-spl.o
Heiko Stübner1d845942017-02-18 19:46:25 +010015obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
Simon Glass2444dae2015-08-30 16:55:38 -060016else
Heiko Stübnerdf9041e2017-02-18 19:46:38 +010017obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board.o
Jacob Chencd77fd12016-09-19 18:46:26 +080018obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board.o
Jacob Chenf48f2b72016-09-19 18:46:27 +080019obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board.o
Simon Glass2444dae2015-08-30 16:55:38 -060020endif
Andreas Färberad8fe6b2016-07-14 06:22:09 +020021ifndef CONFIG_ARM64
huang lincc2244b2015-11-17 14:20:09 +080022obj-y += rk_timer.o
Andreas Färberad8fe6b2016-07-14 06:22:09 +020023endif
huang linbe1d5e02015-11-17 14:20:27 +080024obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/
Heiko Stübner0a2be692017-02-18 19:46:36 +010025
26ifndef CONFIG_TPL_BUILD
27obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188/
28endif
29
Heiko Stübner041cdb52016-07-16 00:17:15 +020030obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/
Kever Yang85a3cfb2017-02-23 15:37:51 +080031obj-$(CONFIG_ROCKCHIP_RK3328) += rk3328/
Kever Yanga381bcf2016-07-19 21:16:59 +080032obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399/