diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2019-08-12 00:00:40 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-11-11 14:55:27 +0100 |
commit | e34212c75a68990f7215d64d725c61e57ca70357 (patch) | |
tree | b2db266781070363438ee176c96e05dd2d9d6bd3 /include | |
parent | 88c5bfecaa36c1b92666f9f0a02b4fa36e7f6337 (diff) | |
download | linux-stable-e34212c75a68990f7215d64d725c61e57ca70357.tar.gz linux-stable-e34212c75a68990f7215d64d725c61e57ca70357.tar.bz2 linux-stable-e34212c75a68990f7215d64d725c61e57ca70357.zip |
memory: tegra: Introduce Tegra30 EMC driver
Introduce driver for the External Memory Controller (EMC) found on Tegra30
chips, it controls the external DRAM on the board. The purpose of this
driver is to program memory timing for external memory on the EMC clock
rate change.
Acked-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Tested-by: Peter Geis <pgwipeout@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/soc/tegra/mc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/soc/tegra/mc.h b/include/soc/tegra/mc.h index 16e2c2fb5f6c..1238e35653d1 100644 --- a/include/soc/tegra/mc.h +++ b/include/soc/tegra/mc.h @@ -181,7 +181,7 @@ struct tegra_mc { spinlock_t lock; }; -void tegra_mc_write_emem_configuration(struct tegra_mc *mc, unsigned long rate); +int tegra_mc_write_emem_configuration(struct tegra_mc *mc, unsigned long rate); unsigned int tegra_mc_get_emem_device_count(struct tegra_mc *mc); #endif /* __SOC_TEGRA_MC_H__ */ |