diff mbox series

[1/2] ARM: AM33xx: PRM: Remove redundand defines

Message ID 20240221154614.3549951-1-alexander.sverdlin@siemens.com (mailing list archive)
State New, archived
Headers show
Series [1/2] ARM: AM33xx: PRM: Remove redundand defines | expand

Commit Message

A. Sverdlin Feb. 21, 2024, 3:45 p.m. UTC
From: Alexander Sverdlin <alexander.sverdlin@siemens.com>

AM33XX_PRM_RSTCTRL_OFFSET is already defined in prm33xx.h and
AM33XX_RST_GLOBAL_WARM_SW_MASK in prm-regbits-33xx.h.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
---
 arch/arm/mach-omap2/prm33xx.c | 4 ----
 1 file changed, 4 deletions(-)

Comments

Tony Lindgren Feb. 28, 2024, 7:34 a.m. UTC | #1
* A. Sverdlin <alexander.sverdlin@siemens.com> [240221 17:46]:
> From: Alexander Sverdlin <alexander.sverdlin@siemens.com>
> 
> AM33XX_PRM_RSTCTRL_OFFSET is already defined in prm33xx.h and
> AM33XX_RST_GLOBAL_WARM_SW_MASK in prm-regbits-33xx.h.

Thanks applying both into omap-for-v6.9/soc.

Tony
diff mbox series

Patch

diff --git a/arch/arm/mach-omap2/prm33xx.c b/arch/arm/mach-omap2/prm33xx.c
index 4b65a0f9cf7d9..4a462310a4b09 100644
--- a/arch/arm/mach-omap2/prm33xx.c
+++ b/arch/arm/mach-omap2/prm33xx.c
@@ -15,10 +15,6 @@ 
 #include "prm33xx.h"
 #include "prm-regbits-33xx.h"
 
-#define AM33XX_PRM_RSTCTRL_OFFSET		0x0000
-
-#define AM33XX_RST_GLOBAL_WARM_SW_MASK		(1 << 0)
-
 /* Read a register in a PRM instance */
 static u32 am33xx_prm_read_reg(s16 inst, u16 idx)
 {