diff options
-rw-r--r-- | common/command.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/command.c b/common/command.c index ddaed682d58..ed931d748c0 100644 --- a/common/command.c +++ b/common/command.c @@ -475,6 +475,12 @@ void fixup_cmdtable(cmd_tbl_t *cmdtp, int size) cmdtp->help = (char *)addr; } #endif +#ifdef CONFIG_AUTO_COMPLETE + if (cmdtp->complete) { + addr = (ulong)(cmdtp->complete) + gd->reloc_off; + cmdtp->complete = (char *)addr; + } +#endif cmdtp++; } } |