mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
Simplify the MC-HWPM driver and fix the hang seen during probe of it. These changes are made to scale the driver for future SOCs as well. The hang is seen because MC registers are accessed in function get_platform_dram_num_channels() before the MC aperture is io-mapped. Bug 4235766 Change-Id: I3c8f9229898ac459c616aca0ef400a8b4c16e66a Signed-off-by: Ashish Mhetre <amhetre@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2963195 Reviewed-by: Ketan Patil <ketanp@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>