diff options
Diffstat (limited to 'drivers/ram/Makefile')
-rw-r--r-- | drivers/ram/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ram/Makefile b/drivers/ram/Makefile index 83948e2c43e..2b9429cfee9 100644 --- a/drivers/ram/Makefile +++ b/drivers/ram/Makefile @@ -20,5 +20,7 @@ obj-$(CONFIG_K3_DDRSS) += k3-ddrss/ obj-$(CONFIG_IMXRT_SDRAM) += imxrt_sdram.o obj-$(CONFIG_RAM_SIFIVE) += sifive/ - +ifdef CONFIG_SPL_BUILD +obj-$(CONFIG_SPL_STARFIVE_DDR) += starfive/ +endif obj-$(CONFIG_ARCH_OCTEON) += octeon/ |