]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: fix missing function pointer relocation in fixup_cmdtable()
authorDaniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Thu, 13 Oct 2011 06:07:39 +0000 (06:07 +0000)
committerWolfgang Denk <wd@denx.de>
Sat, 15 Oct 2011 20:19:36 +0000 (22:19 +0200)
commitfa28bd2eef588ec2048ccafedb2b384d5a355858
tree4297e2b0b5046a12f8e2f6692944a33d175b4a8b
parent4fc823ddb43ab26a393da49f356fcad208e7064f
common: fix missing function pointer relocation in fixup_cmdtable()

The command auto-completion does not work on architectures relying
on CONFIG_NEEDS_MANUAL_RELOC like MIPS. Cause is the missing function
pointer fixup for cmd_tbl_t::complete function in fixup_cmdtable().

This patch adds the missing pointer fixup in case of CONFIG_AUTO_COMPLETE
is defined.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
common/command.c