summaryrefslogtreecommitdiffstats
path: root/include/configs
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-11-10 17:16:42 -0700
committerSimon Glass <sjg@chromium.org>2014-11-21 08:11:13 +0100
commit9dacbb277255c432047f6df8fe21505b9c8cf485 (patch)
tree96f1dc13fd9a1a93daf8ae0d17ec3f40f5d57c91 /include/configs
parentad1b81c88080580b5db8b89c5a3b29d85a7488fc (diff)
downloadtalos-obmc-uboot-9dacbb277255c432047f6df8fe21505b9c8cf485.tar.gz
talos-obmc-uboot-9dacbb277255c432047f6df8fe21505b9c8cf485.zip
dm: tegra: Avoid using arch-specific memcpy() in SPL
The faster functions are not actually available in SPL and the code size likely isn't worth it. Use the normal memcpy() in SPL. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/tegra-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index 5d2b12a11d..d690045eb0 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -118,7 +118,9 @@
#define CONFIG_SYS_MEMTEST_START (NV_PA_SDRC_CS0 + 0x600000)
#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + 0x100000)
+#ifndef CONFIG_SPL_BUILD
#define CONFIG_USE_ARCH_MEMCPY
+#endif
/*-----------------------------------------------------------------------
* Physical Memory Map
OpenPOWER on IntegriCloud