spl: dm: Kconfig: SPL_RAM depends on SPL_DM
[platform/kernel/u-boot.git] / drivers / ram / Kconfig
index 61afd7a..e75c23f 100644 (file)
@@ -10,7 +10,7 @@ config RAM
 
 config SPL_RAM
        bool "Enable RAM support in SPL"
-       depends on RAM
+       depends on RAM && SPL_DM
        help
          The RAM subsystem adds a small amount of overhead to the image.
          If this is acceptable and you have a need to use RAM drivers in