xref: /rk3399_rockchip-uboot/cmd/ddr_tool/ddr_test/Makefile (revision 5395ac06d271209f5904a9da4392a3d8dad7597e)
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