]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx7ulp: Remove duplicated definitions
authorFabio Estevam <festevam@gmail.com>
Mon, 3 Feb 2020 12:01:08 +0000 (09:01 -0300)
committerStefano Babic <sbabic@denx.de>
Fri, 17 Apr 2020 16:54:04 +0000 (18:54 +0200)
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>
arch/arm/mach-imx/mx7ulp/soc.c

index 46484813d2c77ccda3b210dab4ea8d29dc854f0f..d8d691692cde309cdeabfb7ea1f702a3ed4d953b 100644 (file)
@@ -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;