From 9df731a176aab8e03b984b681b1bea01ccff6644 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 06 Nov 2023 07:23:06 +0000
Subject: [PATCH] rk3568 rt uboot init

---
 u-boot/cmd/ddr_tool/Makefile |   25 ++++++-------------------
 1 files changed, 6 insertions(+), 19 deletions(-)

diff --git a/u-boot/cmd/ddr_tool/Makefile b/u-boot/cmd/ddr_tool/Makefile
index 788b400..7fdf4fa 100644
--- a/u-boot/cmd/ddr_tool/Makefile
+++ b/u-boot/cmd/ddr_tool/Makefile
@@ -1,25 +1,12 @@
 #
-# (C) Copyright 2018 Rockchip Electronics Co., Ltd.
+# (C) Copyright 2023 Rockchip Electronics Co., Ltd.
 #
 # SPDX-License-Identifier:	GPL-2.0+
 #
 
-# We don't want the bootrom-helper present in a full U-Boot build, as
-# this may have entered from ATF with the stack-pointer pointing to
-# inaccessible/protected memory (and the bootrom-helper assumes that
-# the stack-pointer is valid before switching to the U-Boot stack).
-ifdef CONFIG_ROCKCHIP_PX30
-obj-$(CONFIG_CMD_DDR_TEST_TOOL) = ddr_test_px30.o
-endif
-ifdef CONFIG_ROCKCHIP_RK3328
-obj-$(CONFIG_CMD_DDR_TEST_TOOL) = ddr_test_rk3328.o
-endif
-ifdef CONFIG_ROCKCHIP_RK1808
-obj-$(CONFIG_CMD_DDR_TEST_TOOL) = ddr_test_rk1808.o
-endif
-ifndef CONFIG_CMD_MEMTESTER
-obj-$(CONFIG_CMD_DDR_TEST_TOOL) += ../memtester/ddr_tester_common.o
-obj-$(CONFIG_CMD_DDR_TEST_TOOL) += ../memtester/io_map.o
-endif
-obj-$(CONFIG_CMD_DDR_TEST_TOOL) += ddr_dq_eye.o
+obj-$(CONFIG_CMD_DDR_TOOL) += ddr_tool_common.o ddr_tool_mp.o io_map.o
 
+obj-$(CONFIG_CMD_DDR_DQ_EYE) += ddr_dq_eye/
+obj-$(CONFIG_CMD_DDR_TEST) += ddr_test/
+obj-$(CONFIG_CMD_MEMTESTER) += memtester/
+obj-$(CONFIG_CMD_STRESSAPPTEST) += stressapptest/

--
Gitblit v1.6.2