embestmx6boards: Add SPL support
[oweals/u-boot.git] / Makefile
index 0d11ff97971ad673f04779d1831a19cf64a3b4f9..5683714947f24547461c4bb761942946ef894c34 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -695,7 +695,6 @@ libs-$(CONFIG_CMD_UBI) += drivers/mtd/ubi/
 libs-y += drivers/mtd/spi/
 libs-y += drivers/net/
 libs-y += drivers/net/phy/
-libs-y += drivers/pci/
 libs-y += drivers/power/ \
        drivers/power/domain/ \
        drivers/power/fuel_gauge/ \
@@ -947,6 +946,14 @@ ifeq ($(CONFIG_LIBATA)$(CONFIG_DM_SCSI)$(CONFIG_MVSATA_IDE),y)
        @echo "Failure to update by the deadline may result in board removal."
        @echo "See doc/driver-model/MIGRATION.txt for more info."
        @echo "===================================================="
+endif
+ifeq ($(CONFIG_OF_EMBED),y)
+       @echo "===================== WARNING ======================"
+       @echo "CONFIG_OF_EMBED is enabled. This option should only"
+       @echo "be used for debugging purposes. Please use"
+       @echo "CONFIG_OF_SEPARATE for boards in mainline."
+       @echo "See doc/README.fdt-control for more info."
+       @echo "===================================================="
 endif
        @# Check that this build does not use CONFIG options that we do not
        @# know about unless they are in Kconfig. All the existing CONFIG