xref: /openbmc/u-boot/arch/arm/mach-rockchip/Makefile (revision 168eef7a)
12444dae5SSimon Glass#
22444dae5SSimon Glass# Copyright (c) 2014 Google, Inc
32444dae5SSimon Glass#
42444dae5SSimon Glass# SPDX-License-Identifier:	GPL-2.0+
52444dae5SSimon Glass#
62444dae5SSimon Glass
7e1bc64eeSSimon Glassobj-$(CONFIG_ROCKCHIP_BROM_HELPER) += bootrom.o
8e1bc64eeSSimon Glass
9df9041ecSHeiko Stübnerifdef CONFIG_TPL_BUILD
10df9041ecSHeiko Stübnerobj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-tpl.o
11df9041ecSHeiko Stübnerobj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
12df9041ecSHeiko Stübnerelse ifdef CONFIG_SPL_BUILD
13be1d5e03Shuang linobj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board-spl.o
14df9041ecSHeiko Stübnerobj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-spl.o
15*168eef7aSKever Yangobj-$(CONFIG_ROCKCHIP_RK322X) += rk322x-board-spl.o
16041cdb5fSHeiko Stübnerobj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o
173012a840SKever Yangobj-$(CONFIG_ROCKCHIP_RK3399) += rk3399-board-spl.o
181d845947SHeiko Stübnerobj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
192444dae5SSimon Glasselse
20df9041ecSHeiko Stübnerobj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board.o
21*168eef7aSKever Yangobj-$(CONFIG_ROCKCHIP_RK322X) += rk322x-board.o
22cd77fd1bSJacob Chenobj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board.o
23f48f2b72SJacob Chenobj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board.o
246d1970faSKever Yangifdef CONFIG_RAM
256d1970faSKever Yangobj-y += sdram_common.o
266d1970faSKever Yangendif
272444dae5SSimon Glassendif
28ad8fe6b9SAndreas Färberifndef CONFIG_ARM64
29cc2244b8Shuang linobj-y += rk_timer.o
30ad8fe6b9SAndreas Färberendif
31be1d5e03Shuang linobj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/
320a2be69fSHeiko Stübner
330a2be69fSHeiko Stübnerifndef CONFIG_TPL_BUILD
340a2be69fSHeiko Stübnerobj-$(CONFIG_ROCKCHIP_RK3188) += rk3188/
350a2be69fSHeiko Stübnerendif
360a2be69fSHeiko Stübner
37*168eef7aSKever Yangobj-$(CONFIG_ROCKCHIP_RK322X) += rk322x/
38041cdb5fSHeiko Stübnerobj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/
3985a3cfb8SKever Yangobj-$(CONFIG_ROCKCHIP_RK3328) += rk3328/
4037a0c600SAndreas Färberobj-$(CONFIG_ROCKCHIP_RK3368) += rk3368/
41a381bcf5SKever Yangobj-$(CONFIG_ROCKCHIP_RK3399) += rk3399/
422c1e11ddSAndy Yanobj-$(CONFIG_ROCKCHIP_RV1108) += rv1108/
43