]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: always compile fixup_cmdtable()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 26 Nov 2020 19:46:37 +0000 (20:46 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 16 Jan 2021 19:49:09 +0000 (14:49 -0500)
commit7cf5b4053b433ae0dbb0462e58fd426b43fc69fd
tree34185de3f7813a16f856c30b8a648fbf4b1eb8d0
parentc61b2bf30c090b19cb2e84a7cf6e29de8773a411
common: always compile fixup_cmdtable()

With our optimization settings the linker eliminates unused functions.

But for debugging it is better to compile with -Og or -O0. With -O0
compiling the sandbox fails due to the missing function fixup_cmdtable()
called by dm_reloc() and others.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/command.c