diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-10-12 09:00:54 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2010-10-19 18:17:07 -0400 |
commit | 51f5d744ed07a6b82e5cbbeeabd73605d62dcfc9 (patch) | |
tree | c9e0784f10734280277c3ab96f99917c7431432e /arch/arm/plat-nomadik | |
parent | 4a6aed3c4eb69702335ed3689132d07eabaaf86d (diff) |
ste_dma40: remove enum for endianess
A bool will suffice. The default is little endian.
Acked-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'arch/arm/plat-nomadik')
-rw-r--r-- | arch/arm/plat-nomadik/include/plat/ste_dma40.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/plat-nomadik/include/plat/ste_dma40.h b/arch/arm/plat-nomadik/include/plat/ste_dma40.h index d57f37e1b7b3..07339f10d445 100644 --- a/arch/arm/plat-nomadik/include/plat/ste_dma40.h +++ b/arch/arm/plat-nomadik/include/plat/ste_dma40.h | |||
@@ -69,11 +69,6 @@ enum stedma40_flow_ctrl { | |||
69 | STEDMA40_FLOW_CTRL, | 69 | STEDMA40_FLOW_CTRL, |
70 | }; | 70 | }; |
71 | 71 | ||
72 | enum stedma40_endianess { | ||
73 | STEDMA40_LITTLE_ENDIAN, | ||
74 | STEDMA40_BIG_ENDIAN | ||
75 | }; | ||
76 | |||
77 | enum stedma40_periph_data_width { | 72 | enum stedma40_periph_data_width { |
78 | STEDMA40_BYTE_WIDTH = STEDMA40_ESIZE_8_BIT, | 73 | STEDMA40_BYTE_WIDTH = STEDMA40_ESIZE_8_BIT, |
79 | STEDMA40_HALFWORD_WIDTH = STEDMA40_ESIZE_16_BIT, | 74 | STEDMA40_HALFWORD_WIDTH = STEDMA40_ESIZE_16_BIT, |
@@ -92,13 +87,13 @@ enum stedma40_xfer_dir { | |||
92 | /** | 87 | /** |
93 | * struct stedma40_chan_cfg - dst/src channel configuration | 88 | * struct stedma40_chan_cfg - dst/src channel configuration |
94 | * | 89 | * |
95 | * @endianess: Endianess of the src/dst hardware | 90 | * @big_endian: true if the src/dst should be read as big endian |
96 | * @data_width: Data width of the src/dst hardware | 91 | * @data_width: Data width of the src/dst hardware |
97 | * @p_size: Burst size | 92 | * @p_size: Burst size |
98 | * @flow_ctrl: Flow control on/off. | 93 | * @flow_ctrl: Flow control on/off. |
99 | */ | 94 | */ |
100 | struct stedma40_half_channel_info { | 95 | struct stedma40_half_channel_info { |
101 | enum stedma40_endianess endianess; | 96 | bool big_endian; |
102 | enum stedma40_periph_data_width data_width; | 97 | enum stedma40_periph_data_width data_width; |
103 | int psize; | 98 | int psize; |
104 | enum stedma40_flow_ctrl flow_ctrl; | 99 | enum stedma40_flow_ctrl flow_ctrl; |