Simon Glass | 2cffe66 | 2015-08-30 16:55:38 -0600 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2014 Google, Inc |
| 3 | # |
| 4 | # SPDX-License-Identifier: GPL-2.0+ |
| 5 | # |
| 6 | |
Heiko Stübner | 0b3c26a | 2017-02-18 19:46:38 +0100 | [diff] [blame] | 7 | ifdef CONFIG_TPL_BUILD |
| 8 | obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-tpl.o |
| 9 | obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o |
| 10 | else ifdef CONFIG_SPL_BUILD |
huang lin | 1115b64 | 2015-11-17 14:20:27 +0800 | [diff] [blame] | 11 | obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board-spl.o |
Heiko Stübner | 0b3c26a | 2017-02-18 19:46:38 +0100 | [diff] [blame] | 12 | obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-spl.o |
Heiko Stübner | 5c91e2b | 2016-07-16 00:17:15 +0200 | [diff] [blame] | 13 | obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o |
Kever Yang | 441a6d3 | 2017-02-23 16:09:05 +0800 | [diff] [blame] | 14 | obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399-board-spl.o |
Heiko Stübner | 355a880 | 2017-02-18 19:46:25 +0100 | [diff] [blame] | 15 | obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o |
Simon Glass | 2cffe66 | 2015-08-30 16:55:38 -0600 | [diff] [blame] | 16 | else |
Heiko Stübner | 0b3c26a | 2017-02-18 19:46:38 +0100 | [diff] [blame] | 17 | obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board.o |
Jacob Chen | 73a38ec | 2016-09-19 18:46:26 +0800 | [diff] [blame] | 18 | obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board.o |
Jacob Chen | 746070c | 2016-09-19 18:46:27 +0800 | [diff] [blame] | 19 | obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board.o |
Simon Glass | 2cffe66 | 2015-08-30 16:55:38 -0600 | [diff] [blame] | 20 | endif |
Andreas Färber | b4338b6 | 2016-07-14 06:22:09 +0200 | [diff] [blame] | 21 | ifndef CONFIG_ARM64 |
huang lin | 8db3e24 | 2015-11-17 14:20:09 +0800 | [diff] [blame] | 22 | obj-y += rk_timer.o |
Andreas Färber | b4338b6 | 2016-07-14 06:22:09 +0200 | [diff] [blame] | 23 | endif |
huang lin | 1115b64 | 2015-11-17 14:20:27 +0800 | [diff] [blame] | 24 | obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/ |
Heiko Stübner | ef6db5e | 2017-02-18 19:46:36 +0100 | [diff] [blame] | 25 | |
| 26 | ifndef CONFIG_TPL_BUILD |
| 27 | obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188/ |
| 28 | endif |
| 29 | |
Heiko Stübner | 5c91e2b | 2016-07-16 00:17:15 +0200 | [diff] [blame] | 30 | obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/ |
Kever Yang | ec02b3c | 2017-02-23 15:37:51 +0800 | [diff] [blame] | 31 | obj-$(CONFIG_ROCKCHIP_RK3328) += rk3328/ |
Kever Yang | 0d3d783 | 2016-07-19 21:16:59 +0800 | [diff] [blame] | 32 | obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399/ |