blob: 5ed19c93275946a3a2e5562bb70268e94443e3c3 [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
Simon Glassef0ab852017-04-15 13:11:31 -06007obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += bootrom.o
8
Heiko Stübner0b3c26a2017-02-18 19:46:38 +01009ifdef CONFIG_TPL_BUILD
10obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-tpl.o
11obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
12else ifdef CONFIG_SPL_BUILD
huang lin1115b642015-11-17 14:20:27 +080013obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board-spl.o
Heiko Stübner0b3c26a2017-02-18 19:46:38 +010014obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-spl.o
Heiko Stübner5c91e2b2016-07-16 00:17:15 +020015obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o
Kever Yang441a6d32017-02-23 16:09:05 +080016obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399-board-spl.o
Heiko Stübner355a8802017-02-18 19:46:25 +010017obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
Simon Glass2cffe662015-08-30 16:55:38 -060018else
Heiko Stübner0b3c26a2017-02-18 19:46:38 +010019obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board.o
Jacob Chen73a38ec2016-09-19 18:46:26 +080020obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board.o
Jacob Chen746070c2016-09-19 18:46:27 +080021obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board.o
Simon Glass2cffe662015-08-30 16:55:38 -060022endif
Andreas Färberb4338b62016-07-14 06:22:09 +020023ifndef CONFIG_ARM64
huang lin8db3e242015-11-17 14:20:09 +080024obj-y += rk_timer.o
Andreas Färberb4338b62016-07-14 06:22:09 +020025endif
huang lin1115b642015-11-17 14:20:27 +080026obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/
Heiko Stübneref6db5e2017-02-18 19:46:36 +010027
28ifndef CONFIG_TPL_BUILD
29obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188/
30endif
31
Heiko Stübner5c91e2b2016-07-16 00:17:15 +020032obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/
Kever Yangec02b3c2017-02-23 15:37:51 +080033obj-$(CONFIG_ROCKCHIP_RK3328) += rk3328/
Andreas Färber9e3ad682017-05-15 17:51:18 +080034obj-$(CONFIG_ROCKCHIP_RK3368) += rk3368/
Kever Yang0d3d7832016-07-19 21:16:59 +080035obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399/