aboutsummaryrefslogtreecommitdiff
path: root/cmd/ti
diff options
context:
space:
mode:
authorTom Rini2023-10-07 15:36:58 -0400
committerTom Rini2023-10-16 10:25:02 -0400
commit1b377a9ffeb5bf5716f75d6f52bc3fe6a00adc8c (patch)
treeef00166ccb8fa686b1b98cc65c20f4c6f7c6211c /cmd/ti
parent3616218b5acea74011aea2d14aa1f6366f242849 (diff)
cmd/ti: Update Kconfig logic and Makefile recursion logic
- Add some dependencies to CMD_DDR3 as this is only valid on some platforms (which tend to select it as well). - The proper gate for going in to cmd/ti is not CONFIG_TI_COMMON_CMD_OPTIONS as nothing under there is controlled by that symbol but the general TI architecture options. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd/ti')
-rw-r--r--cmd/ti/Kconfig1
-rw-r--r--cmd/ti/Makefile4
2 files changed, 1 insertions, 4 deletions
diff --git a/cmd/ti/Kconfig b/cmd/ti/Kconfig
index db557445a89..9442c9993c1 100644
--- a/cmd/ti/Kconfig
+++ b/cmd/ti/Kconfig
@@ -2,6 +2,7 @@ menu "TI specific command line interface"
config CMD_DDR3
bool "command for verifying DDR features"
+ depends on ARCH_KEYSTONE || DRA7XX
help
Support for testing ddr3 on TI platforms. This command
supports memory verification, memory comapre and ecc
diff --git a/cmd/ti/Makefile b/cmd/ti/Makefile
index 045593396b7..87f85b2c232 100644
--- a/cmd/ti/Makefile
+++ b/cmd/ti/Makefile
@@ -1,9 +1,5 @@
# SPDX-License-Identifier: GPL-2.0+
# Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
-obj- += dummy.o
-
-ifndef CONFIG_SPL_BUILD
obj-$(CONFIG_CMD_DDR3) += ddr3.o
obj-$(CONFIG_CMD_PD) += pd.o
-endif