From: Fabio Estevam Date: Mon, 3 Feb 2020 12:01:08 +0000 (-0300) Subject: mx7ulp: Remove duplicated definitions X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=2cfdb3bca7c452942fe6513b3ea12a45d5c58564;p=u-boot.git mx7ulp: Remove duplicated definitions These PMC0 definitions are already defined in the beginning of the file, so remove the duplication. Reported-by: Stefano Babic Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan --- 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;