Commit fce45009 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Vladimir Zapolskiy
Browse files

edma: simplify 64-bit support



Move all 64-bit handling into defines rather than having them split all
over the code. The SET_CH_64/writeq_ch() are implemented as two 32-bit
writes rather than a call to writeq as the respective field is not
aligned, thus accessing it with writeq generates alignement exception.

Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
[vzapolskiy: removed SET_CH_64() macro]
Signed-off-by: default avatarVladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
parent bf8d225b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment