scripts: Makefile.spl: Enable memory drivers to be built for SPL

Introduce CONFIG_SPL_MEMORY to allow Memory drivers to
be built for SPL.

Signed-off-by: Roger Quadros <rogerq@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Roger Quadros 2022-10-20 16:30:47 +03:00 committed by Tom Rini
parent 2c120375e9
commit 3a82cd26ee
2 changed files with 8 additions and 0 deletions

View file

@ -114,6 +114,7 @@ libs-$(CONFIG_PARTITIONS) += disk/
endif
libs-y += drivers/
libs-$(CONFIG_SPL_MEMORY) += drivers/memory/
libs-$(CONFIG_SPL_USB_GADGET) += drivers/usb/dwc3/
libs-$(CONFIG_SPL_USB_GADGET) += drivers/usb/cdns3/
libs-y += dts/