summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mx7ulp
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2020-02-03 09:01:08 -0300
committerStefano Babic <sbabic@denx.de>2020-04-17 18:54:04 +0200
commit2cfdb3bca7c452942fe6513b3ea12a45d5c58564 (patch)
tree1205af7fc10d1ff424f2b87162bafa553042ee9a /arch/arm/mach-imx/mx7ulp
parent0f238dab6d17caabe4f9781d23aaa6087139f2bd (diff)
mx7ulp: Remove duplicated definitions
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> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm/mach-imx/mx7ulp')
-rw-r--r--arch/arm/mach-imx/mx7ulp/soc.c4
1 files changed, 0 insertions, 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;