Thierry Reding 775edf7856 soc/tegra: fuse: Extract tegra_get_platform()
This function extracts the PRE_SI_PLATFORM field from the HIDREV
register and can be used to determine which platform the kernel runs on
(silicon, simulation, ...). Note that while only Tegra194 and later
define this field, it should be safe to call this on prior generations
as well since this field should read as 0, indicating silicon.

Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2020-09-18 15:55:22 +02:00
..
2020-06-04 19:56:20 -07:00
2018-01-04 17:01:53 +01:00
2020-08-03 19:30:59 -07:00
2019-07-19 17:13:56 -07:00
2020-08-03 19:30:59 -07:00
2020-04-03 10:49:52 -07:00