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