Skip to content
Commit ccd8e76f authored by Petlozu Pravareshwar's avatar Petlozu Pravareshwar Committed by Thierry Reding
Browse files

soc/tegra: pmc: Update scratch as an optional aperture



Scratch address space register is used to store reboot reason. For
some Tegra234 systems, the scratch space is not available to store
the reboot reason. This is because scratch region on these systems
is not accessible by the kernel as restricted by the Hypervisor.
Such systems would delist scratch aperture from PMC DT node.

Hence this change makes scratch as optional aperture and also avoids
registering reboot notifier if scratch address space isn't mapped.

Signed-off-by: default avatarPetlozu Pravareshwar <petlozup@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 6f4429e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment