blob: 6b251c7e7e953e9b97ecea45a7a18df38706fe4f [file] [log] [blame]
Simon Glass2cffe662015-08-30 16:55:38 -06001#
2# Copyright (c) 2014 Google, Inc
3#
4# SPDX-License-Identifier: GPL-2.0+
5#
6
Heiko Stübner0b3c26a2017-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 lin1115b642015-11-17 14:20:27 +080011obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board-spl.o
Heiko Stübner0b3c26a2017-02-18 19:46:38 +010012obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-spl.o
Heiko Stübner5c91e2b2016-07-16 00:17:15 +020013obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o
Kever Yang441a6d32017-02-23 16:09:05 +080014obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399-board-spl.o
Heiko Stübner355a8802017-02-18 19:46:25 +010015obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
Simon Glass2cffe662015-08-30 16:55:38 -060016else
Heiko Stübner0b3c26a2017-02-18 19:46:38 +010017obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board.o
Jacob Chen73a38ec2016-09-19 18:46:26 +080018obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board.o
Jacob Chen746070c2016-09-19 18:46:27 +080019obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board.o
Simon Glass2cffe662015-08-30 16:55:38 -060020endif
Andreas Färberb4338b62016-07-14 06:22:09 +020021ifndef CONFIG_ARM64
huang lin8db3e242015-11-17 14:20:09 +080022obj-y += rk_timer.o
Andreas Färberb4338b62016-07-14 06:22:09 +020023endif
huang lin1115b642015-11-17 14:20:27 +080024obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/
Heiko Stübneref6db5e2017-02-18 19:46:36 +010025
26ifndef CONFIG_TPL_BUILD
27obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188/
28endif
29
Heiko Stübner5c91e2b2016-07-16 00:17:15 +020030obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/
Kever Yangec02b3c2017-02-23 15:37:51 +080031obj-$(CONFIG_ROCKCHIP_RK3328) += rk3328/
Kever Yang0d3d7832016-07-19 21:16:59 +080032obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399/