From patchwork Thu Apr 19 19:59:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 901471 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=none (p=none dis=none) header.from=gmx.de Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40RqZQ2TMxz9s1t for ; Fri, 20 Apr 2018 05:59:26 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id CFAE2C21FBB; Thu, 19 Apr 2018 19:59:19 +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=FREEMAIL_FROM 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 A774FC21E89; Thu, 19 Apr 2018 19:59:16 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 89640C21E89; Thu, 19 Apr 2018 19:59:14 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by lists.denx.de (Postfix) with ESMTPS id 318C5C21F71 for ; Thu, 19 Apr 2018 19:59:14 +0000 (UTC) Received: from LT01.fritz.box ([62.143.246.157]) by mail.gmx.com (mrgmx103 [212.227.17.174]) with ESMTPSA (Nemesis) id 0MQ2Tn-1f5f4V1M39-005JFR; Thu, 19 Apr 2018 21:59:12 +0200 From: Heinrich Schuchardt To: Tom Rini Date: Thu, 19 Apr 2018 21:59:04 +0200 Message-Id: <20180419195904.13415-1-xypron.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C2Tj95fPzbwZAhqMRwjyi2o6NmXaO49/sARU2ykJckRu+gnW1XfrydURWB510QuM AMkHtWqkstOXbt6jXy7VmBaCBNpDQ== Cc: u-boot@lists.denx.de, Heinrich Schuchardt Subject: [U-Boot] [PATCH 1/1] log: CONFIG_LOG should select CONFIG_DM 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Compling with CONFIG_LOG and without CONFIG_DM results in common/log.c:47: undefined reference to `uclass_get_name' Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- common/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/common/Kconfig b/common/Kconfig index 03eeeb2402..4c7a1a9af8 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -424,6 +424,7 @@ menu "Logging" config LOG bool "Enable logging support" + select DM help This enables support for logging of status and debug messages. These can be displayed on the console, recorded in a memory buffer, or