diff options
author | Alexander Stein <alexander.stein@ew.tq-group.com> | 2023-03-10 08:55:34 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2023-03-27 10:50:57 -0700 |
commit | 603df193ec5174ff81c32cf1a78b7819ce984b8c (patch) | |
tree | 56de12ab5b65fbbc49638be0e8298f2c2bfb59b5 /lib/crypto/mpi/mpi-add.c | |
parent | 51f2be462f70d9c3ef06f6028c21ac8ca00fed1d (diff) |
clk: rs9: Support device specific dif bit calculation
The calculation DIFx is BIT(n) +1 is only true for 9FGV0241. With
additional devices this is getting more complicated.
Support a base bit for the DIF calculation, currently only devices
with consecutive bits are supported, e.g. the 6-channel device needs
additional logic.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20230310075535.3476580-3-alexander.stein@ew.tq-group.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions