diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2018-03-28 06:22:38 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2018-03-30 23:44:11 +0300 |
commit | 0136c741ff40e03323419feec05fcd594f36a463 (patch) | |
tree | 6ebe96d799a7077e52d060f7aa96741f9df5882b /security | |
parent | 506a7be93ff773d5d4cf75a59f342865605b4910 (diff) | |
download | linux-0136c741ff40e03323419feec05fcd594f36a463.tar.xz |
clocksource/drivers/imx-tpm: Add different counter width support
Different TPM modules have different width counters which is 16-bit or 32-bit,
the counter width can be read from TPM_PARAM register bit[23:16], this patch
adds dynamic check for counter width to support both 16-bit and 32-bit TPM
modules.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions