]> git.karo-electronics.de Git - karo-tx-linux.git/commit
memory: tegra: Add API needed by the EMC driver
authorMikko Perttunen <mperttunen@nvidia.com>
Thu, 12 Mar 2015 14:48:02 +0000 (15:48 +0100)
committerThierry Reding <treding@nvidia.com>
Fri, 27 Mar 2015 12:18:52 +0000 (13:18 +0100)
commit9d981a710c0c193e181b64ec30cfeb2e6c518351
treea4fe28e6c7ffc0b86ddc8dabd497246c4367f31f
parentbe8b072eecaf34166f1ddb2354c7c6ab127260d8
memory: tegra: Add API needed by the EMC driver

The EMC driver needs to know the number of external memory devices and
also needs to update the EMEM configuration based on the new rate of the
memory bus.

To know how to update the EMEM config, looks up the values of the burst
regs in the DT, for a given timing.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/memory/tegra/mc.c
drivers/memory/tegra/tegra124.c
include/soc/tegra/mc.h