]> git.sur5r.net Git - u-boot/commitdiff
power: axp818: Remove duplicate register definition macros
authorChen-Yu Tsai <wens@csie.org>
Tue, 12 Jan 2016 06:42:36 +0000 (14:42 +0800)
committerHans de Goede <hdegoede@redhat.com>
Tue, 26 Jan 2016 15:20:05 +0000 (16:20 +0100)
Some of the register definitions are duplicated. Drop them.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
include/axp818.h

index 1dc6456950b616d49443fd1436fff60b4558c8dc..46d05ad04b8ac6fe2c73b86fe71d30231961c238 100644 (file)
 #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