firmware: tegra: Enable BPMP support on Tegra234
authorThierry Reding <treding@nvidia.com>
Thu, 17 Sep 2020 10:07:51 +0000 (12:07 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 18 Sep 2020 13:57:04 +0000 (15:57 +0200)
commit0ebdf11699d0491c0a1eee5bb5d920f4f36810ba
tree2c6197f7c114a1c8aa1b11efbf0706e19f111a99
parente5c88986b990ce8a647554204ef84cfc5d660bb8
firmware: tegra: Enable BPMP support on Tegra234

Enable support for the BPMP on Tegra234 to avoid relying on Tegra194
being enabled to pull in the needed OF device ID table entry.

On simulation platforms the BPMP hasn't booted up yet by the time we
probe the BPMP driver and the BPMP hasn't had a chance to mark the
doorbell as ringable by the CCPLEX. This corresponding check in the
BPMP driver will therefore fail. Work around this by disabling the
check on simulation platforms.

Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/firmware/tegra/bpmp.c
drivers/mailbox/tegra-hsp.c