]> 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)
commitf7cdd232d504ab27d29687f6f55451e7d900660e
tree0f79a23893a68b28b62efc0ab1bd50fe5488b3a4
parent7b4c9699c2cb85f653073cf7e976da2975b7f2fe
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