summaryrefslogtreecommitdiff
path: root/common/cmd_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_mem.c')
-rw-r--r--common/cmd_mem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/cmd_mem.c b/common/cmd_mem.c
index eb44f2e01e9..d77b04728a8 100644
--- a/common/cmd_mem.c
+++ b/common/cmd_mem.c
@@ -31,7 +31,8 @@
#include <command.h>
#include <cmd_mem.h>
-#if (CONFIG_COMMANDS & (CFG_CMD_MEMORY | CFG_CMD_PCI | CFG_CMD_I2C))
+#if (CONFIG_COMMANDS & (CFG_CMD_MEMORY | CFG_CMD_PCI | CFG_CMD_I2C\
+ | CMD_CMD_PORTIO))
int cmd_get_data_size(char* arg, int default_size)
{
/* Check for a size specification .b, .w or .l.