From: Sascha Hauer <s.hauer@pengutronix.de>
To: BAREBOX <barebox@lists.infradead.org>
Subject: [PATCH 4/4] ARM: boards: remove #define DEBUG in board files
Date: Mon, 05 Jan 2026 11:45:01 +0100 [thread overview]
Message-ID: <20260105-riotboard-v1-4-789b844d7e36@pengutronix.de> (raw)
In-Reply-To: <20260105-riotboard-v1-0-789b844d7e36@pengutronix.de>
DEBUG should be defined on demand when actually debugging, not by
default. Remove these in the board files.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/boards/duckbill/lowlevel.c | 1 -
arch/arm/boards/element14-warp7/lowlevel.c | 1 -
arch/arm/boards/freescale-mx28-evk/lowlevel.c | 1 -
arch/arm/boards/karo-tx28/lowlevel.c | 1 -
arch/arm/boards/phytec-phycore-imx7/lowlevel.c | 1 -
5 files changed, 5 deletions(-)
diff --git a/arch/arm/boards/duckbill/lowlevel.c b/arch/arm/boards/duckbill/lowlevel.c
index 71862ec4b71dc4d7ee99a3e01d776a5c74794d1e..e94c58308580e945332637f8bd32bde6811b59b9 100644
--- a/arch/arm/boards/duckbill/lowlevel.c
+++ b/arch/arm/boards/duckbill/lowlevel.c
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
#define pr_fmt(fmt) "I2SE Duckbill: " fmt
-#define DEBUG
#include <common.h>
#include <linux/sizes.h>
diff --git a/arch/arm/boards/element14-warp7/lowlevel.c b/arch/arm/boards/element14-warp7/lowlevel.c
index c6ddfea5a4dd51b4b3be819209b667a0141fe298..3d5e24967b2f4a996b365533943d385af2124f26 100644
--- a/arch/arm/boards/element14-warp7/lowlevel.c
+++ b/arch/arm/boards/element14-warp7/lowlevel.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
-#define DEBUG
#include <io.h>
#include <common.h>
#include <linux/sizes.h>
diff --git a/arch/arm/boards/freescale-mx28-evk/lowlevel.c b/arch/arm/boards/freescale-mx28-evk/lowlevel.c
index 42ac33fbbd9b8709f6031dc0dafaeff74fd8af3c..53a7b7582b6d4b39737d49f688b9c2c18374dc6f 100644
--- a/arch/arm/boards/freescale-mx28-evk/lowlevel.c
+++ b/arch/arm/boards/freescale-mx28-evk/lowlevel.c
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
#define pr_fmt(fmt) "Freescale MX28evk: " fmt
-#define DEBUG
#include <common.h>
#include <linux/sizes.h>
diff --git a/arch/arm/boards/karo-tx28/lowlevel.c b/arch/arm/boards/karo-tx28/lowlevel.c
index e423d5ecab9252db007d9e1d781a7f5db8b2a24d..25e72f2cf70168306057298a1848b022903e29fc 100644
--- a/arch/arm/boards/karo-tx28/lowlevel.c
+++ b/arch/arm/boards/karo-tx28/lowlevel.c
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
#define pr_fmt(fmt) "KARO TX28: " fmt
-#define DEBUG
#include <common.h>
#include <linux/sizes.h>
diff --git a/arch/arm/boards/phytec-phycore-imx7/lowlevel.c b/arch/arm/boards/phytec-phycore-imx7/lowlevel.c
index 1f3c08ac62bd90c9bdec2f53ae587282e2b16cd0..79128b964cf41e1a157050ec8ae1c53037c3ad29 100644
--- a/arch/arm/boards/phytec-phycore-imx7/lowlevel.c
+++ b/arch/arm/boards/phytec-phycore-imx7/lowlevel.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
-#define DEBUG
#include <io.h>
#include <common.h>
#include <linux/sizes.h>
--
2.47.3
next prev parent reply other threads:[~2026-01-05 10:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-05 10:44 [PATCH 0/4] i.MX6 Riotboard related patches Sascha Hauer
2026-01-05 10:44 ` [PATCH 1/4] ARM: i.MX6: Riotboard: ungate peripheral clocks Sascha Hauer
2026-01-05 10:44 ` [PATCH 2/4] ARM: i.MX6: Riotboard: Add hint how to enable DEBUG_LL Sascha Hauer
2026-01-05 10:45 ` [PATCH 3/4] gpio: Fix GPIOD_ASIS flag Sascha Hauer
2026-01-05 10:45 ` Sascha Hauer [this message]
2026-01-06 7:46 ` (subset) [PATCH 0/4] i.MX6 Riotboard related patches Sascha Hauer
2026-01-06 7:46 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260105-riotboard-v1-4-789b844d7e36@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox