]> git.baikalelectronics.ru Git - kernel.git/commit
memory: tegra: Unify struct tegra_mc across SoC generations
authorThierry Reding <treding@nvidia.com>
Wed, 2 Jun 2021 16:32:52 +0000 (18:32 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Thu, 3 Jun 2021 19:49:40 +0000 (21:49 +0200)
commitf717b7d8cfdfed5fc2634d28fda50ffd00b10e16
tree0f79a23893a68b28b62efc0ab1bd50fe5488b3a4
parentc232d7e2aec290ced529e2fdb0b905bfc45a3328
memory: tegra: Unify struct tegra_mc across SoC generations

As another step towards unifying both the Tegra210 (and earlier) and
Tegra186 (and later) memory controller drivers, unify the structures
that are used to represent them.

Note that this comes at a slight space penalty since some fields are
not used on all generations, but the benefits of unifying the driver
outweigh the downsides.

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