xref: /openbmc/u-boot/arch/arm/mach-rockchip/Makefile (revision 6d1970fa)
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
15041cdb5fSHeiko Stübnerobj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o
163012a840SKever Yangobj-$(CONFIG_ROCKCHIP_RK3399) += rk3399-board-spl.o
171d845947SHeiko Stübnerobj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o
182444dae5SSimon Glasselse
19df9041ecSHeiko Stübnerobj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board.o
20cd77fd1bSJacob Chenobj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board.o
21f48f2b72SJacob Chenobj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board.o
22*6d1970faSKever Yangifdef CONFIG_RAM
23*6d1970faSKever Yangobj-y += sdram_common.o
24*6d1970faSKever Yangendif
252444dae5SSimon Glassendif
26ad8fe6b9SAndreas Färberifndef CONFIG_ARM64
27cc2244b8Shuang linobj-y += rk_timer.o
28ad8fe6b9SAndreas Färberendif
29be1d5e03Shuang linobj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/
300a2be69fSHeiko Stübner
310a2be69fSHeiko Stübnerifndef CONFIG_TPL_BUILD
320a2be69fSHeiko Stübnerobj-$(CONFIG_ROCKCHIP_RK3188) += rk3188/
330a2be69fSHeiko Stübnerendif
340a2be69fSHeiko Stübner
35041cdb5fSHeiko Stübnerobj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/
3685a3cfb8SKever Yangobj-$(CONFIG_ROCKCHIP_RK3328) += rk3328/
3737a0c600SAndreas Färberobj-$(CONFIG_ROCKCHIP_RK3368) += rk3368/
38a381bcf5SKever Yangobj-$(CONFIG_ROCKCHIP_RK3399) += rk3399/
392c1e11ddSAndy Yanobj-$(CONFIG_ROCKCHIP_RV1108) += rv1108/
40