]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
dmaengine: pl080: Cut some unused defines
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 2 Apr 2017 14:50:33 +0000 (16:50 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 4 May 2017 10:35:04 +0000 (16:05 +0530)
There is no in-kernel code using these indexed register
defines, and their offsets are clearly defined right below.
Cut them.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
include/linux/amba/pl080.h

index 91b84a7f053933089e63224aea1f616809b8af57..800429f4b99701db2c756f72c15bf6f1ec4c8bf2 100644 (file)
 
 /* Per channel configuration registers */
 
-#define PL080_Cx_STRIDE                                (0x20)
+/* Per channel configuration registers */
 #define PL080_Cx_BASE(x)                       ((0x100 + (x * 0x20)))
-#define PL080_Cx_SRC_ADDR(x)                   ((0x100 + (x * 0x20)))
-#define PL080_Cx_DST_ADDR(x)                   ((0x104 + (x * 0x20)))
-#define PL080_Cx_LLI(x)                                ((0x108 + (x * 0x20)))
-#define PL080_Cx_CONTROL(x)                    ((0x10C + (x * 0x20)))
-#define PL080_Cx_CONFIG(x)                     ((0x110 + (x * 0x20)))
-#define PL080S_Cx_CONTROL2(x)                  ((0x110 + (x * 0x20)))
-#define PL080S_Cx_CONFIG(x)                    ((0x114 + (x * 0x20)))
-
 #define PL080_CH_SRC_ADDR                      (0x00)
 #define PL080_CH_DST_ADDR                      (0x04)
 #define PL080_CH_LLI                           (0x08)