summaryrefslogtreecommitdiff
path: root/lib/fdtdec.c
diff options
context:
space:
mode:
authorJimmy Zhang <jimmzhang@nvidia.com>2012-04-02 13:18:52 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-05-15 08:31:38 +0200
commit0e35ad053f239912ebf879c20d44689ff0834c03 (patch)
treeb168ee3a4ac5291dc404b5733225b5930b4048ee /lib/fdtdec.c
parent1d5dba604c93bc2916cbd30c239bc8d237f12073 (diff)
downloadu-boot-imx-0e35ad053f239912ebf879c20d44689ff0834c03.zip
u-boot-imx-0e35ad053f239912ebf879c20d44689ff0834c03.tar.gz
u-boot-imx-0e35ad053f239912ebf879c20d44689ff0834c03.tar.bz2
tegra: Add EMC support for optimal memory timings
Add support for setting up the memory controller parameters. Boards can set up an appropriate table in the device tree. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'lib/fdtdec.c')
-rw-r--r--lib/fdtdec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index 76d3808..42c3e89 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -40,6 +40,8 @@ static const char * const compat_names[COMPAT_COUNT] = {
COMPAT(NVIDIA_TEGRA20_USB, "nvidia,tegra20-ehci"),
COMPAT(NVIDIA_TEGRA20_I2C, "nvidia,tegra20-i2c"),
COMPAT(NVIDIA_TEGRA20_DVC, "nvidia,tegra20-i2c-dvc"),
+ COMPAT(NVIDIA_TEGRA20_EMC, "nvidia,tegra20-emc"),
+ COMPAT(NVIDIA_TEGRA20_EMC_TABLE, "nvidia,tegra20-emc-table"),
};
const char *fdtdec_get_compatible(enum fdt_compat_id id)