diff options
author | Jagan Teki <jagan@edgeble.ai> | 2022-12-14 20:50:47 +0300 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2023-01-16 13:01:10 +0300 |
commit | 78276c531321ef989ae8d9d83144fb0ddd45962f (patch) | |
tree | c29dd0f8f43b385d6e3f8a01c35ed4a80794901c /drivers/ram/Makefile | |
parent | b47742fcaf48fb4a26c36bab6b3993eeadc99835 (diff) | |
download | u-boot-78276c531321ef989ae8d9d83144fb0ddd45962f.tar.xz |
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/Makefile')
-rw-r--r-- | drivers/ram/Makefile | 2 |
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/ |