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 053C5ECAAD3 for ; Mon, 19 Sep 2022 10:39:20 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2702484C04; Mon, 19 Sep 2022 12:39:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=thorsis.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=thorsis.com header.i=@thorsis.com header.b="VSuClrs2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8D22384AAC; Mon, 19 Sep 2022 12:39:16 +0200 (CEST) Received: from mail.thorsis.com (mail.thorsis.com [92.198.35.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5E06D84BF2 for ; Mon, 19 Sep 2022 12:39:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=thorsis.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ada@thorsis.com Received: from adahl by ada.ifak-system.com with local (Exim 4.92) (envelope-from ) id 1oaEBE-0006v3-8t; Mon, 19 Sep 2022 12:39:12 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thorsis.com; s=default; t=1663583952; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-transfer-encoding:content-transfer-encoding; bh=4FBmYDPjyKoT3DqMXfEhTxlXG59yRUfjbPiBpW20Irw=; b=VSuClrs2GkCYWpO76LxcM6H854x2A7tTbFgcHN152nN7t8iabT6LPX820RXDB5BoYDOMvJ iJdNlKj94ffch2nAxWFt7Vb+zyoEssBaGbpS/K5dfD5qyMORvHz1QXnHg1b0VeAufDRTpY 1E7J2euthL/noddtkLfBwol5djKL9huliVcNQ91QhFsDQgoctH8b2EA/8zdI2owxGWsZPz mPzVk6MIxpW70L3OlVlQD3YXZxzi1xkV3bikQVzAlj7B6dPDVEqCHNqwzstB52YUNfineD rzO407ILqE0Iov+g6z6+LF3lg6Wfw+W/f03uRpI3/Wq7KuLPPXNcgg5r6MFndw== From: Alexander Dahl To: u-boot@lists.denx.de Cc: Michal Simek Subject: [PATCH 0/7] Use logging feature instead of FPGA_DEBUG Date: Mon, 19 Sep 2022 12:39:05 +0200 Message-Id: <20220919103912.26554-1-ada@thorsis.com> 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.6 at phobos.denx.de X-Virus-Status: Clean Hei hei, while working on FPGA support for a new device I discovered logging in some FPGA drivers is still done as in the old days. Bring that to what I thougt would be the currently preferred approach? Notes: Adding those Kconfig symbols in patch 3 is just to be able to build those two drivers. All drivers touched were build tested with the gcc-11.1.0-nolibc/m68k-linux toolchain. Lines with other possibly questionable output were not touched, only what seemed to be designated debug output. Greets Alex Alexander Dahl (7): fpga: altera: Use logging feature instead of FPGA_DEBUG fpga: cyclon2: Use logging feature instead of FPGA_DEBUG fpga: Add missing Kconfig symbols for old FPGA drivers fpga: ACEX1K: Use logging feature instead of FPGA_DEBUG fpga: spartan2: Use logging feature instead of FPGA_DEBUG fpga: spartan3: Use logging feature instead of FPGA_DEBUG fpga: virtex2: Use logging feature instead of FPGA_DEBUG drivers/fpga/ACEX1K.c | 22 +++++++++------------- drivers/fpga/Kconfig | 12 ++++++++++++ drivers/fpga/altera.c | 13 ++++++------- drivers/fpga/cyclon2.c | 24 ++++++++++-------------- drivers/fpga/spartan2.c | 34 +++++++++++++++------------------- drivers/fpga/spartan3.c | 34 +++++++++++++++------------------- drivers/fpga/virtex2.c | 37 +++++++++++++++---------------------- 7 files changed, 82 insertions(+), 94 deletions(-) base-commit: 0b3fe2b9777eff12ffd6735fc00291616b407622 -- 2.30.2