summaryrefslogtreecommitdiff
path: root/drivers/ram
diff options
context:
space:
mode:
authorJagan Teki <jagan@edgeble.ai>2022-12-14 23:20:47 +0530
committerKever Yang <kever.yang@rock-chips.com>2023-01-16 18:01:10 +0800
commit78276c531321ef989ae8d9d83144fb0ddd45962f (patch)
treec29dd0f8f43b385d6e3f8a01c35ed4a80794901c /drivers/ram
parentb47742fcaf48fb4a26c36bab6b3993eeadc99835 (diff)
downloadu-boot-78276c531321ef989ae8d9d83144fb0ddd45962f.tar.gz
u-boot-78276c531321ef989ae8d9d83144fb0ddd45962f.tar.bz2
u-boot-78276c531321ef989ae8d9d83144fb0ddd45962f.zip
ram: Mark ram-uclass depend on TPL_DM or SPL_DM
ram-uclass is building irrespective of whether TPL_DM or SPL_DM is enabled. So control the ram uclass build based on TPL/SPL_DM. Signed-off-by: Jagan Teki <jagan@edgeble.ai> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'drivers/ram')
-rw-r--r--drivers/ram/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ram/Makefile b/drivers/ram/Makefile
index 5a39611349..83948e2c43 100644
--- a/drivers/ram/Makefile
+++ b/drivers/ram/Makefile
@@ -3,7 +3,7 @@
# Copyright (c) 2015 Google, Inc
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
-obj-$(CONFIG_RAM) += ram-uclass.o
+obj-$(CONFIG_$(SPL_TPL_)DM) += ram-uclass.o
obj-$(CONFIG_MPC83XX_SDRAM) += mpc83xx_sdram.o
obj-$(CONFIG_SANDBOX) += sandbox_ram.o
obj-$(CONFIG_STM32MP1_DDR) += stm32mp1/