hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
u-boot/cmd/ddr_tool/Makefile
....@@ -1,25 +1,12 @@
11 #
2
-# (C) Copyright 2018 Rockchip Electronics Co., Ltd.
2
+# (C) Copyright 2023 Rockchip Electronics Co., Ltd.
33 #
44 # SPDX-License-Identifier: GPL-2.0+
55 #
66
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
-ifdef CONFIG_ROCKCHIP_PX30
12
-obj-$(CONFIG_CMD_DDR_TEST_TOOL) = ddr_test_px30.o
13
-endif
14
-ifdef CONFIG_ROCKCHIP_RK3328
15
-obj-$(CONFIG_CMD_DDR_TEST_TOOL) = ddr_test_rk3328.o
16
-endif
17
-ifdef CONFIG_ROCKCHIP_RK1808
18
-obj-$(CONFIG_CMD_DDR_TEST_TOOL) = ddr_test_rk1808.o
19
-endif
20
-ifndef CONFIG_CMD_MEMTESTER
21
-obj-$(CONFIG_CMD_DDR_TEST_TOOL) += ../memtester/ddr_tester_common.o
22
-obj-$(CONFIG_CMD_DDR_TEST_TOOL) += ../memtester/io_map.o
23
-endif
24
-obj-$(CONFIG_CMD_DDR_TEST_TOOL) += ddr_dq_eye.o
7
+obj-$(CONFIG_CMD_DDR_TOOL) += ddr_tool_common.o ddr_tool_mp.o io_map.o
258
9
+obj-$(CONFIG_CMD_DDR_DQ_EYE) += ddr_dq_eye/
10
+obj-$(CONFIG_CMD_DDR_TEST) += ddr_test/
11
+obj-$(CONFIG_CMD_MEMTESTER) += memtester/
12
+obj-$(CONFIG_CMD_STRESSAPPTEST) += stressapptest/