diff options
author | Patrice Chotard <patrice.chotard@st.com> | 2019-06-20 15:13:23 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-06-24 17:28:43 +0100 |
commit | 94613d5ae1091a28b33f38e18d96e8d953ac18df (patch) | |
tree | c94000124b804108588aa43b95b975db8a2863b1 /tools/perf/scripts/python | |
parent | a75e91bad717fea43358e7f743de5f93c4e5978f (diff) |
spi: spi-stm32-qspi: Remove CR_FTHRES_MASK usage
On STM32 F4/F7/H7 SoCs, FTHRES is a 5 bits field in QSPI_CR register,
but for STM32MP1 SoCs, FTHRES is a 4 bits field long. CR_FTHRES_MASK
definition is not correct.
As for all these SoCs, FTHRES field is set to 3, FIELD_PREP() macro
is used with a constant as second parameter which make its usage useless.
CR_FTHRES_MASK and FIELD_PREP() can be removed.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions