xref: /rk3399_rockchip-uboot/cmd/ddr_tool/Makefile (revision 8dd9db5d1cd5826638c3cdb5f681300ff2f29f3b)
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).
11ifdef CONFIG_ROCKCHIP_PX30
12obj-$(CONFIG_CMD_DDR_TEST_TOOL) = ddr_test_px30.o
13endif
14ifdef CONFIG_ROCKCHIP_RK3328
15obj-$(CONFIG_CMD_DDR_TEST_TOOL) = ddr_test_rk3328.o
16endif
17ifdef CONFIG_ROCKCHIP_RK1808
18obj-$(CONFIG_CMD_DDR_TEST_TOOL) = ddr_test_rk1808.o
19endif
20ifndef CONFIG_CMD_MEMTESTER
21obj-$(CONFIG_CMD_DDR_TEST_TOOL) += ../memtester/ddr_tester_common.o
22obj-$(CONFIG_CMD_DDR_TEST_TOOL) += ../memtester/io_map.o
23endif
24