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