blob: cb8d3efe4b3f27dcf44f5868481e719fc5d88252 [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
Kever Yang57d4dbf2017-06-23 17:17:52 +080015obj-$(CONFIG_ROCKCHIP_RK322X) += rk322x-board-spl.o
Heiko Stübner5c91e2b2016-07-16 00:17:15 +020016obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o
Kever Yang441a6d32017-02-23 16:09:05 +080017obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399-board-spl.o
Heiko Stübner355a8802017-02-18 19:46:25 +010018obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
Simon Glass2cffe662015-08-30 16:55:38 -060019else
Heiko Stübner0b3c26a2017-02-18 19:46:38 +010020obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board.o
Kever Yang57d4dbf2017-06-23 17:17:52 +080021obj-$(CONFIG_ROCKCHIP_RK322X) += rk322x-board.o
Jacob Chen73a38ec2016-09-19 18:46:26 +080022obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board.o
Jacob Chen746070c2016-09-19 18:46:27 +080023obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board.o
Kever Yang5db9e672017-06-23 16:11:05 +080024ifdef CONFIG_RAM
25obj-y += sdram_common.o
26endif
Simon Glass2cffe662015-08-30 16:55:38 -060027endif
Andreas Färberb4338b62016-07-14 06:22:09 +020028ifndef CONFIG_ARM64
huang lin8db3e242015-11-17 14:20:09 +080029obj-y += rk_timer.o
Andreas Färberb4338b62016-07-14 06:22:09 +020030endif
huang lin1115b642015-11-17 14:20:27 +080031obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/
Heiko Stübneref6db5e2017-02-18 19:46:36 +010032
33ifndef CONFIG_TPL_BUILD
34obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188/
35endif
36
Kever Yang57d4dbf2017-06-23 17:17:52 +080037obj-$(CONFIG_ROCKCHIP_RK322X) += rk322x/
Heiko Stübner5c91e2b2016-07-16 00:17:15 +020038obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/
Kever Yangec02b3c2017-02-23 15:37:51 +080039obj-$(CONFIG_ROCKCHIP_RK3328) += rk3328/
Andreas Färber9e3ad682017-05-15 17:51:18 +080040obj-$(CONFIG_ROCKCHIP_RK3368) += rk3368/
Kever Yang0d3d7832016-07-19 21:16:59 +080041obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399/
Andy Yan2d982da2017-06-01 18:00:55 +080042obj-$(CONFIG_ROCKCHIP_RV1108) += rv1108/