[U-Boot] [PATCH 1/5] power: axp818: Remove duplicate register definition macros
Vishnu Patekar
vishnupatekar0510 at gmail.com
Fri Jan 15 04:21:05 CET 2016
Hello Wens,
Thanks for correcting it.
Regards,
Vishnu
On Tue, Jan 12, 2016 at 2:42 PM, Chen-Yu Tsai <wens at csie.org> wrote:
> Some of the register definitions are duplicated. Drop them.
>
> Signed-off-by: Chen-Yu Tsai <wens at csie.org>
> ---
> include/axp818.h | 8 --------
> 1 file changed, 8 deletions(-)
>
> diff --git a/include/axp818.h b/include/axp818.h
> index 1dc6456..46d05ad 100644
> --- a/include/axp818.h
> +++ b/include/axp818.h
> @@ -32,13 +32,6 @@
> #define AXP818_OUTPUT_CTRL3_ALDO2_EN (1 << 6)
> #define AXP818_OUTPUT_CTRL3_ALDO3_EN (1 << 7)
>
> -#define AXP818_DCDC1_CTRL 0x20
> -#define AXP818_DCDC2_CTRL 0x21
> -#define AXP818_DCDC3_CTRL 0x22
> -#define AXP818_DCDC4_CTRL 0x23
> -#define AXP818_DCDC5_CTRL 0x24
> -#define AXP818_DCDC6_CTRL 0x25
> -
> #define AXP818_DLDO1_CTRL 0x15
> #define AXP818_DLDO2_CTRL 0x16
> #define AXP818_DLDO3_CTRL 0x17
> @@ -46,7 +39,6 @@
> #define AXP818_ELDO1_CTRL 0x19
> #define AXP818_ELDO2_CTRL 0x1a
> #define AXP818_ELDO3_CTRL 0x1b
> -#define AXP818_ELDO3_CTRL 0x1b
> #define AXP818_FLDO1_CTRL 0x1c
> #define AXP818_FLDO2_3_CTRL 0x1d
> #define AXP818_DCDC1_CTRL 0x20
> --
> 2.6.4
>
More information about the U-Boot
mailing list