summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-06-02 19:26:44 -0600
committerTom Rini <trini@konsulko.com>2020-07-08 17:21:46 -0400
commit3428faf23af5079e80c53d0d8473af30d3c19fca (patch)
tree77634e4cb1e1356d3eacadff0ba89151dd305ea1 /common
parent84dd1902443cf500b2536eeb14d6662c6b502698 (diff)
downloadu-boot-3428faf23af5079e80c53d0d8473af30d3c19fca.tar.gz
u-boot-3428faf23af5079e80c53d0d8473af30d3c19fca.tar.bz2
u-boot-3428faf23af5079e80c53d0d8473af30d3c19fca.zip
Update MEM_SUPPORT_64BIT_DATA to be always defined
Define this macro always so we don't need the preprocessor to check it. Convert the users to #if instead of #ifdef. Note that '#if MEM_SUPPORT_64BIT_DATA' does not give an error if the macro is not define. It just assumes zero. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'common')
-rw-r--r--common/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/command.c b/common/command.c
index 4f49f15bfd..fc37ed4d7c 100644
--- a/common/command.c
+++ b/common/command.c
@@ -473,7 +473,7 @@ int cmd_get_data_size(char* arg, int default_size)
return 2;
case 'l':
return 4;
-#ifdef MEM_SUPPORT_64BIT_DATA
+#if MEM_SUPPORT_64BIT_DATA
case 'q':
return 8;
#endif