public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 1/2] mx7ulp: Remove duplicated definitions
@ 2020-02-03 12:01 Fabio Estevam
  2020-02-03 12:01 ` [PATCH v2 2/2] mx7ulp: Only enable LDO if it is not already enabled Fabio Estevam
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Fabio Estevam @ 2020-02-03 12:01 UTC (permalink / raw)
  To: u-boot

These PMC0 definitions are already defined in the beginning
of the file, so remove the duplication.

Reported-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
Changes since v1:
- Newly introduced in this version.

 arch/arm/mach-imx/mx7ulp/soc.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm/mach-imx/mx7ulp/soc.c b/arch/arm/mach-imx/mx7ulp/soc.c
index 46484813d2..d8d691692c 100644
--- a/arch/arm/mach-imx/mx7ulp/soc.c
+++ b/arch/arm/mach-imx/mx7ulp/soc.c
@@ -193,10 +193,6 @@ const char *get_imx_type(u32 imxtype)
 	return "7ULP";
 }
 
-#define PMC0_BASE_ADDR		0x410a1000
-#define PMC0_CTRL		0x28
-#define PMC0_CTRL_LDOEN		BIT(31)
-
 static bool ldo_mode_is_enabled(void)
 {
 	unsigned int reg;
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-04-18 10:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-03 12:01 [PATCH v2 1/2] mx7ulp: Remove duplicated definitions Fabio Estevam
2020-02-03 12:01 ` [PATCH v2 2/2] mx7ulp: Only enable LDO if it is not already enabled Fabio Estevam
2020-02-03 12:07   ` Peng Fan
2020-02-03 12:13     ` Fabio Estevam
2020-04-18 10:51   ` sbabic at denx.de
2020-02-03 12:10 ` [PATCH v2 1/2] mx7ulp: Remove duplicated definitions Peng Fan
2020-04-18 10:51 ` sbabic at denx.de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox