aboutsummaryrefslogtreecommitdiff
path: root/common/command.c
diff options
context:
space:
mode:
authorSimon Glass2020-06-02 19:26:44 -0600
committerTom Rini2020-07-08 17:21:46 -0400
commit3428faf23af5079e80c53d0d8473af30d3c19fca (patch)
tree77634e4cb1e1356d3eacadff0ba89151dd305ea1 /common/command.c
parent84dd1902443cf500b2536eeb14d6662c6b502698 (diff)
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/command.c')
-rw-r--r--common/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/command.c b/common/command.c
index 4f49f15bfdf..fc37ed4d7c8 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