]> git.baikalelectronics.ru Git - kernel.git/commit
memory: tegra: Make per-SoC setup more generic
authorThierry Reding <treding@nvidia.com>
Wed, 2 Jun 2021 16:32:55 +0000 (18:32 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Thu, 3 Jun 2021 19:49:41 +0000 (21:49 +0200)
commit93d8259a50e6cb7078ac19a93ff0cc6823a5e5a3
tree748cc2715c254787a03b14da69efe235ea9ad2ed
parent926378b2d6ae24f14d11ace57d0c0371db1311c4
memory: tegra: Make per-SoC setup more generic

The current per-SoC setup code runs at a fairly arbitrary point during
probe, thereby making it less flexible for other SoC generations. Move
the call around slightly (after only the very basic, common setup that
applies to all SoC generations has been performed), which will allow
it to be used for other implementations.

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