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:
parent
2c120375e9
commit
3a82cd26ee
@ -796,6 +796,13 @@ config SPL_DM_MAILBOX
|
|||||||
this option to build the drivers in drivers/mailbox as part of
|
this option to build the drivers in drivers/mailbox as part of
|
||||||
SPL build.
|
SPL build.
|
||||||
|
|
||||||
|
config SPL_MEMORY
|
||||||
|
bool "Support Memory controller drivers"
|
||||||
|
help
|
||||||
|
Enable support for Memory Controller drivers within SPL.
|
||||||
|
These devices provide Memory bus interface to various devices like
|
||||||
|
SRAM, Ethernet adapters, FPGAs, etc.
|
||||||
|
|
||||||
config SPL_MMC
|
config SPL_MMC
|
||||||
bool "Support MMC"
|
bool "Support MMC"
|
||||||
depends on MMC
|
depends on MMC
|
||||||
|
@ -114,6 +114,7 @@ libs-$(CONFIG_PARTITIONS) += disk/
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
libs-y += drivers/
|
libs-y += drivers/
|
||||||
|
libs-$(CONFIG_SPL_MEMORY) += drivers/memory/
|
||||||
libs-$(CONFIG_SPL_USB_GADGET) += drivers/usb/dwc3/
|
libs-$(CONFIG_SPL_USB_GADGET) += drivers/usb/dwc3/
|
||||||
libs-$(CONFIG_SPL_USB_GADGET) += drivers/usb/cdns3/
|
libs-$(CONFIG_SPL_USB_GADGET) += drivers/usb/cdns3/
|
||||||
libs-y += dts/
|
libs-y += dts/
|
||||||
|
Loading…
Reference in New Issue
Block a user