Commit 2a2b0fd5 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Russell King

[ARM PATCH] 2369/1: remove some cruft

Patch from Nicolas Pitre

Those defines are incomplete and not using them by
instead using the explicit flags makes for clearer code.

Signed-off-by: Nicolas Pitre
Signed-off-by: Russell King
parent c84f2c3f
...@@ -272,11 +272,6 @@ ...@@ -272,11 +272,6 @@
#define DCMD_WIDTH4 (3 << 14) /* 4 byte width (Word) */ #define DCMD_WIDTH4 (3 << 14) /* 4 byte width (Word) */
#define DCMD_LENGTH 0x01fff /* length mask (max = 8K - 1) */ #define DCMD_LENGTH 0x01fff /* length mask (max = 8K - 1) */
/* default combinations */
#define DCMD_RXPCDR (DCMD_INCTRGADDR|DCMD_FLOWSRC|DCMD_BURST32|DCMD_WIDTH4)
#define DCMD_RXMCDR (DCMD_INCTRGADDR|DCMD_FLOWSRC|DCMD_BURST32|DCMD_WIDTH4)
#define DCMD_TXPCDR (DCMD_INCSRCADDR|DCMD_FLOWTRG|DCMD_BURST32|DCMD_WIDTH4)
/* /*
* UARTs * UARTs
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment