blob: 8a3cb9f7effd78c59be548bff0b96d2b75eaf7d1 [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
Simon Glasse1bc64e2017-04-15 13:11:31 -06007obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += bootrom.o
Philipp Tomsich9e27c812017-06-23 01:04:47 +02008obj-$(CONFIG_$(SPL_TPL_)RAM) += sdram_common.o
Simon Glasse1bc64e2017-04-15 13:11:31 -06009
Heiko Stübnerdf9041e2017-02-18 19:46:38 +010010ifdef CONFIG_TPL_BUILD
11obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-tpl.o
12obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
13else ifdef CONFIG_SPL_BUILD
huang linbe1d5e02015-11-17 14:20:27 +080014obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board-spl.o
Heiko Stübnerdf9041e2017-02-18 19:46:38 +010015obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-spl.o
Kever Yang168eef72017-06-23 17:17:52 +080016obj-$(CONFIG_ROCKCHIP_RK322X) += rk322x-board-spl.o
Heiko Stübner041cdb52016-07-16 00:17:15 +020017obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o
Kever Yang3012a842017-02-23 16:09:05 +080018obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399-board-spl.o
Heiko Stübner1d845942017-02-18 19:46:25 +010019obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
Simon Glass2444dae2015-08-30 16:55:38 -060020else
Heiko Stübnerdf9041e2017-02-18 19:46:38 +010021obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board.o
Kever Yang168eef72017-06-23 17:17:52 +080022obj-$(CONFIG_ROCKCHIP_RK322X) += rk322x-board.o
Jacob Chencd77fd12016-09-19 18:46:26 +080023obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board.o
Jacob Chenf48f2b72016-09-19 18:46:27 +080024obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board.o
Simon Glass2444dae2015-08-30 16:55:38 -060025endif
Andreas Färberad8fe6b2016-07-14 06:22:09 +020026ifndef CONFIG_ARM64
huang lincc2244b2015-11-17 14:20:09 +080027obj-y += rk_timer.o
Andreas Färberad8fe6b2016-07-14 06:22:09 +020028endif
huang linbe1d5e02015-11-17 14:20:27 +080029obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/
Heiko Stübner0a2be692017-02-18 19:46:36 +010030
31ifndef CONFIG_TPL_BUILD
32obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188/
33endif
34
Kever Yang168eef72017-06-23 17:17:52 +080035obj-$(CONFIG_ROCKCHIP_RK322X) += rk322x/
Heiko Stübner041cdb52016-07-16 00:17:15 +020036obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/
Kever Yang85a3cfb2017-02-23 15:37:51 +080037obj-$(CONFIG_ROCKCHIP_RK3328) += rk3328/
Andreas Färber37a0c602017-05-15 17:51:18 +080038obj-$(CONFIG_ROCKCHIP_RK3368) += rk3368/
Kever Yanga381bcf2016-07-19 21:16:59 +080039obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399/
Andy Yan2c1e11d2017-06-01 18:00:55 +080040obj-$(CONFIG_ROCKCHIP_RV1108) += rv1108/