summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorYork Sun <yorksun@freescale.com>2014-02-26 17:03:19 -0800
committerTom Rini <trini@ti.com>2014-03-04 12:15:30 -0500
commit4d1fd7f1ae6cf4e6e4e1cad975f1dcdea62b6d83 (patch)
treefac005cacc864827055709aad05b3924a1eae3e3 /include/common.h
parentf9aa6a1086f6b7da1814a2c95feefa91c9c4b593 (diff)
downloadu-boot-imx-4d1fd7f1ae6cf4e6e4e1cad975f1dcdea62b6d83.zip
u-boot-imx-4d1fd7f1ae6cf4e6e4e1cad975f1dcdea62b6d83.tar.gz
u-boot-imx-4d1fd7f1ae6cf4e6e4e1cad975f1dcdea62b6d83.tar.bz2
Add 64-bit data support for memory commands
Add 64-bit data for memory commands, such as md, mw, mm, cmp. The new size ".q " is introduced. For 64-bit architecture, 64-bit data is enabled by default, by detecting compiler __LP64__. It is optional for other architectures. Signed-off-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 96a45a6..15f5834 100644
--- a/include/common.h
+++ b/include/common.h
@@ -96,6 +96,10 @@ typedef volatile unsigned char vu_char;
#include <flash.h>
#include <image.h>
+#ifdef __LP64__
+#define CONFIG_SYS_SUPPORT_64BIT_DATA
+#endif
+
#ifdef DEBUG
#define _DEBUG 1
#else