diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2017-04-02 16:50:33 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-05-04 16:05:04 +0530 |
commit | 44f0aeec203738bf34f4b7e16b745c8c71fe0f06 (patch) | |
tree | 581987ca06ba63b270a86e77c7640bdc0d663420 /include/linux/amba | |
parent | c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 (diff) | |
download | linux-44f0aeec203738bf34f4b7e16b745c8c71fe0f06.tar.gz linux-44f0aeec203738bf34f4b7e16b745c8c71fe0f06.tar.bz2 linux-44f0aeec203738bf34f4b7e16b745c8c71fe0f06.zip |
dmaengine: pl080: Cut some unused defines
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>
Diffstat (limited to 'include/linux/amba')
-rw-r--r-- | include/linux/amba/pl080.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/linux/amba/pl080.h b/include/linux/amba/pl080.h index 91b84a7f0539..800429f4b997 100644 --- a/include/linux/amba/pl080.h +++ b/include/linux/amba/pl080.h @@ -46,16 +46,8 @@ /* 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) |