[PATCH v2 01/28] ram: Mark ram-uclass depend on TPL_DM or SPL_DM

Kever Yang kever.yang at rock-chips.com
Fri Sep 9 12:11:55 CEST 2022


On 2022/8/18 22:52, Jagan Teki wrote:
> 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 at edgeble.ai>


Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
> Changes for v2:
> - none
>
>   drivers/ram/Makefile | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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 at 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/


More information about the U-Boot mailing list