From patchwork Wed Dec 5 13:57:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1008282 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="BYt7Rc52"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 4390g82ZCWz9s47 for ; Thu, 6 Dec 2018 00:57:56 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 0A3E6C225E4; Wed, 5 Dec 2018 13:57:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 4D307C225DE; Wed, 5 Dec 2018 13:57:43 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 6999AC21F91; Wed, 5 Dec 2018 13:57:14 +0000 (UTC) Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) by lists.denx.de (Postfix) with ESMTPS id 49A07C2260A for ; Wed, 5 Dec 2018 13:57:14 +0000 (UTC) Received: by mail-io1-f72.google.com with SMTP id s25so20901718ioc.14 for ; Wed, 05 Dec 2018 05:57:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:message-id:mime-version:subject:from:to:cc; bh=lqDhZEAhGSV9Tn1DqZEBl8eXvPKLBwm615x3uHdyn4E=; b=BYt7Rc52N8dBNZqzsyofY0DM5JTUZY3GgYQKMHNIwQVIHXwyU6vsJxHr84lxosBib0 JYwLH7b0E3uMqGsQHBo19Sxr4rEwX22Lp8dbY4g+Kdx5Uu3zEk77HRbYyQJNd9qUnUcN lJKopjrzg44RSa9WxNjk5nLD8jb/BRWGvux1c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=lqDhZEAhGSV9Tn1DqZEBl8eXvPKLBwm615x3uHdyn4E=; b=MufExQCn9QbULorDRp65GFcTIjvrbUSbO8N7cHNZ7V8YFpnvftM+Rt1oIcgsyBNa86 U646ql1RwO5VAgyW3bbw7ijUPH3n3qFXLDq+tfOzea46UdAEf+aipDReWQDgEQQd61np eujFL/THF+/PEtEGda9ZDQTUFWkr71heekIKSO6+ztFgvOREWxu4MH6/xbTrorjmAiO5 A79Du/3PZjEsxPSt44Dj4hxOAv/UH+/mwT89SylNA7ncX4pN/Ht8ISRyb9dqpUuXyEao +dzB/bEdIwhQ04FevsBW4nttusInS3UCp7Hk9bxSBG76jC+RT9qaOlUnqttg2LADwlV/ DzTg== X-Gm-Message-State: AA+aEWYXyXOLExI+gs7cNluSoYiOtYhB7vuIAon2oAMGr6eFJhiFIMe3 Y7WLT6X3QDzH0Q5hm0QMc8VeEVeHW5RcN+z+ X-Google-Smtp-Source: AFSGD/UAE6dO3ejXdXGsNt+7UvoodQJ7XZPgrEDwHDcF8FlrVV0bzjax84Y6DG1UeuTMG/8kyfVX2PY/+5eP6Sm9 X-Received: by 2002:a24:1c5:: with SMTP id 188mr7726426itk.12.1544018232997; Wed, 05 Dec 2018 05:57:12 -0800 (PST) Date: Wed, 5 Dec 2018 06:57:08 -0700 Message-Id: <20181205135708.58002-1-sjg@chromium.org> Mime-Version: 1.0 X-Mailer: git-send-email 2.20.0.rc1.387.gf8505762e3-goog From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Baruch Siach , Ryder Lee , Stephen Warren , Alexander Graf , Jerry Van Baren Subject: [U-Boot] [PATCH] fdt: Add warning about CONFIG_OF_EMBED X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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 Reviewed-by: Tom Rini --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 0d11ff97971..05896598fe3 100644 --- a/Makefile +++ b/Makefile @@ -947,6 +947,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