[U-Boot] [PATCH v3 26/30] ARM: tegra: Enable non-cached memory

Simon Glass
2014-11-13T01:27:12Z

Some boards, most notably those with a PCIe ethernet NIC, require this
to avoid cache coherency problems. Since the option adds very little
code and overhead enable it across all Tegra generations. Other drivers
may also start supporting this functionality at some point, so enabling
it now will automatically reap the benefits later on.

Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
---

Changes in v3: None

include/configs/tegra-common.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index ac9858d..379b2d8 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -48,6 +48,7 @@
*/
#define CONFIG_SYS_MALLOC_LEN (4 << 20) /* 4MB */
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
+#define CONFIG_SYS_NONCACHED_MEMORY (1 << 20) /* 1 MiB */

/*
* NS16550 Configuration
--
2.1.0.rc2.206.gedb03e5