[PATCH v1 2/2] imx: verdin-imx95: remove unused WDOG_BASE_ADDR

Stefan Eichenberger <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
From: Stefan Eichenberger <[email protected]>

The ULP watchdog driver obtains its base address from the devicetree
since commit 3cacd1b1809d ("watchdog: ulp_wdog: Use driver model for
reset_cpu()"), so WDOG_BASE_ADDR has no user left. Commit 4f8d6c8f417c
("imx: Remove hardcoded watchdog base address macros") dropped the macro
from the other i.MX9 boards, including toradex-smarc-imx95, but missed
verdin-imx95.

The definition is in fact dangling: WDG3_BASE_ADDR was removed from
arch-imx9/imx-regs.h by that same commit, so anything expanding
WDOG_BASE_ADDR would now fail to build.

Remove the leftover definition.

Fixes: 4f8d6c8f417c ("imx: Remove hardcoded watchdog base address macros")
Signed-off-by: Stefan Eichenberger <[email protected]>
---
 include/configs/verdin-imx95.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/configs/verdin-imx95.h b/include/configs/verdin-imx95.h
index 30eb2e01460..b6df4d48695 100644
--- a/include/configs/verdin-imx95.h
+++ b/include/configs/verdin-imx95.h
@@ -22,6 +22,4 @@
 #define PHYS_SDRAM_SIZE		(SZ_2G - PHYS_SDRAM_FW_RSVD)
 #define PHYS_SDRAM_2_SIZE	SZ_30G
 
-#define WDOG_BASE_ADDR		WDG3_BASE_ADDR
-
 #endif
-- 
2.55.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.