1# 2# Copyright (c) 2014 Google, Inc 3# 4# SPDX-License-Identifier: GPL-2.0+ 5# 6 7obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += bootrom.o 8 9ifdef 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 13obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board-spl.o 14obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-spl.o 15obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o 16obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399-board-spl.o 17obj-$(CONFIG_ROCKCHIP_BROM_HELPER) += save_boot_param.o 18else 19obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board.o 20obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board.o 21obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board.o 22endif 23ifndef CONFIG_ARM64 24obj-y += rk_timer.o 25endif 26obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/ 27 28ifndef CONFIG_TPL_BUILD 29obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188/ 30endif 31 32obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/ 33obj-$(CONFIG_ROCKCHIP_RK3328) += rk3328/ 34obj-$(CONFIG_ROCKCHIP_RK3399) += rk3399/ 35