]> git.baikalelectronics.ru Git - kernel.git/commit
soc/tegra: fuse: Warn if straps are not ready
authorDmitry Osipenko <digetx@gmail.com>
Wed, 18 Dec 2019 18:23:02 +0000 (21:23 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 10 Jan 2020 14:58:48 +0000 (15:58 +0100)
commit5a90a5a89ebf038f1c653d425e2af75da59af10f
tree9a227e90da69244b92c680942e2dd81884cf412d
parent3ed52d47941f8078e044e225781367b46dae2604
soc/tegra: fuse: Warn if straps are not ready

Now both Chip ID and HW straps are becoming available at the same time,
thus we could simply check the availability of the ID in order to check
the availability of the straps. We couldn't check straps for 0x0 because
it could be a correct value.

This change didn't uncover any problems, but anyways it is nicer to have
straps verified for consistency with the Chip ID verification.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/fuse/tegra-apbmisc.c