xref: /rk3399_rockchip-uboot/cmd/ddr_tool/ddr_test/Makefile (revision f9a1c31d51021ad79fb5d72e074600eeeeee80f8)
1*f9a1c31dSWesley Yao#
2*f9a1c31dSWesley Yao# (C) Copyright 2018 Rockchip Electronics Co., Ltd.
3*f9a1c31dSWesley Yao#
4*f9a1c31dSWesley Yao# SPDX-License-Identifier:	GPL-2.0+
5*f9a1c31dSWesley Yao#
6*f9a1c31dSWesley Yao
7*f9a1c31dSWesley Yao# We don't want the bootrom-helper present in a full U-Boot build, as
8*f9a1c31dSWesley Yao# this may have entered from ATF with the stack-pointer pointing to
9*f9a1c31dSWesley Yao# inaccessible/protected memory (and the bootrom-helper assumes that
10*f9a1c31dSWesley Yao# the stack-pointer is valid before switching to the U-Boot stack).
11*f9a1c31dSWesley Yao
12*f9a1c31dSWesley Yaoifdef CONFIG_ROCKCHIP_PX30
13*f9a1c31dSWesley Yaoobj-$(CONFIG_CMD_DDR_TEST) = ddr_test_px30.o
14*f9a1c31dSWesley Yaoendif
15*f9a1c31dSWesley Yaoifdef CONFIG_ROCKCHIP_RK1808
16*f9a1c31dSWesley Yaoobj-$(CONFIG_CMD_DDR_TEST) = ddr_test_rk1808.o
17*f9a1c31dSWesley Yaoendif
18*f9a1c31dSWesley Yaoifdef CONFIG_ROCKCHIP_RK3328
19*f9a1c31dSWesley Yaoobj-$(CONFIG_CMD_DDR_TEST) = ddr_test_rk3328.o
20*f9a1c31dSWesley Yaoendif
21