cmd: Clean up cmd_elf a little bit
authorBin Meng <bmeng.cn@gmail.com>
Thu, 8 Oct 2015 03:19:13 +0000 (20:19 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Oct 2015 13:46:25 +0000 (07:46 -0600)
commitebca3df7813827e7ed8b0fe26a8eb4713a7ae140
treed36857a8bbb22a78b7e9c38680cfc95bd4eecf24
parenta726075911c231e81ecbe12825840b6183bc10da
cmd: Clean up cmd_elf a little bit

This commit cleans up cmd_elf.c per U-Boot coding convention,
and removes the unnecessary DECLARE_GLOBAL_DATA_PTR and out-of-date
powerpc comments (it actually supports not only powerpc targets).

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/cmd_elf.c