aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Glass2018-12-05 06:57:08 -0700
committerTom Rini2018-12-12 12:14:22 -0500
commit841d5fbae4e993476fa87d8933db0cd58d3c2d41 (patch)
tree5152ca5ba5513a30b4d95e9c3df82772c43f5349 /Makefile
parent91ff6865629c81b8643b4ef6130e3e2130c60400 (diff)
fdt: Add warning about CONFIG_OF_EMBED
This option has crept into use with some boards. Add a warning to try to prevent this. As an example: https://lists.denx.de/pipermail/u-boot/2017-September/304966.html Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0d11ff97971..05896598fe3 100644
--- a/Makefile
+++ b/Makefile
@@ -948,6 +948,14 @@ ifeq ($(CONFIG_LIBATA)$(CONFIG_DM_SCSI)$(CONFIG_MVSATA_IDE),y)
@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
@# options are whitelisted, so new ones should not be added.