]> git.baikalelectronics.ru Git - kernel.git/commit
memory: tegra: Unify drivers
authorThierry Reding <treding@nvidia.com>
Wed, 2 Jun 2021 16:33:00 +0000 (18:33 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Thu, 3 Jun 2021 19:49:41 +0000 (21:49 +0200)
commitb6d3bf1f0b2c592ca19ab44c814cdb2619609291
tree76017a7a5c96b2caf4ee9f36f3eb0b21f1ab08a0
parentd0ba7353cf1484ce6a1c23a83561dae9e9ee7374
memory: tegra: Unify drivers

The Tegra210 (and earlier) driver now supports all the functionality
that the Tegra186 (and later) driver does, so they can be unified.

Note that previously the Tegra186 (and later) driver could be unloaded,
even if that was perhaps not very useful. Older chips don't support that
yet, but once they do this code can be reenabled.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20210602163302.120041-11-thierry.reding@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
drivers/memory/tegra/Makefile
drivers/memory/tegra/mc.c
drivers/memory/tegra/mc.h
drivers/memory/tegra/tegra186.c
include/soc/tegra/mc.h