Message ID | 20240221154614.3549951-1-alexander.sverdlin@siemens.com |
---|---|
State | New |
Headers | show |
Series | [1/2] ARM: AM33xx: PRM: Remove redundand defines | expand |
* 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 --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) {