From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8FC86C433FE for ; Wed, 30 Mar 2022 22:12:07 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 52F37841D0; Thu, 31 Mar 2022 00:09:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id ECE4984181; Thu, 31 Mar 2022 00:08:11 +0200 (CEST) Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5C45F8419E for ; Thu, 31 Mar 2022 00:07:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qt1-f177.google.com with SMTP id t7so19645471qta.10 for ; Wed, 30 Mar 2022 15:07:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ycbxp7DbhRGLU588WcJi6T4wMtWr5PRUYZOf58ZJ05k=; b=aTE+M+ClujcS1s5BYLNXm017CNgCXnBZi2NcK/dHR/6njkDkIE2u1maIi07sLlEVPR n7a11qal9H7RWfR5O1ieK/xjja3axtDRiGt9eaMnUuK3Q5u8e9U9JteJo+08Dlb7duz9 Z2oYJ6HqsJcmWPpiLeiZqE+5d392kMI5mRvOgr4o5TMPIRmaKRDZ1HsScxvhSVN+pI3u KfE4aM26L8Tpkbxz9E6ZER8MwMnfqn9jwW8KKql3BDnbyPUEYfxFihoAoKw5+fdF5gFe 9kv71V9aWg/KTwjqaM1/Ftdk10C2zrug/y6BLXEFF9fgJ1vIAG1Rm/0LFgGtRcljKog8 GA+g== X-Gm-Message-State: AOAM5301PuBfA9WEcNTB1p0SwdTXZt7UTVggjhfMjmVD3wNWbsvxiN1q kQ+O0mPieDvfONFs6aDlc9+KNPqFkw== X-Google-Smtp-Source: ABdhPJzBiAlQvjx+0B1jMH7ZM1s9RAsnLaWdD4r5r/X2mX4qxmi3wARHKfazBx9M4lDEE1GSUW6CQQ== X-Received: by 2002:a05:622a:391:b0:2e2:3282:7e66 with SMTP id j17-20020a05622a039100b002e232827e66mr1646418qtx.566.1648678070166; Wed, 30 Mar 2022 15:07:50 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id h2-20020ac85842000000b002e1ec550506sm17749694qth.87.2022.03.30.15.07.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 15:07:49 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Alison Wang Subject: [PATCH 17/25] ls1021atwr: Use DEBUG and not CONFIG_DEBUG Date: Wed, 30 Mar 2022 18:07:27 -0400 Message-Id: <20220330220735.908616-17-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220330220735.908616-1-trini@konsulko.com> References: <20220330220735.908616-1-trini@konsulko.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean We use 'DEBUG' and not 'CONFIG_DEBUG' tree-wide for debug code that is left in, and not wrapped by some other regular debugging type print macro. Cc: Alison Wang Signed-off-by: Tom Rini --- board/freescale/ls1021atwr/ls1021atwr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/ls1021atwr/ls1021atwr.c b/board/freescale/ls1021atwr/ls1021atwr.c index f0b441db6381..4a2449567393 100644 --- a/board/freescale/ls1021atwr/ls1021atwr.c +++ b/board/freescale/ls1021atwr/ls1021atwr.c @@ -107,7 +107,7 @@ static void cpld_show(void) in_8(&cpld_data->pcba_ver) & VERSION_MASK, in_8(&cpld_data->vbank) & BANK_MASK); -#ifdef CONFIG_DEBUG +#ifdef DEBUG printf("soft_mux_on =%x\n", in_8(&cpld_data->soft_mux_on)); printf("cfg_rcw_src1 =%x\n", -- 2.25.1