summaryrefslogtreecommitdiff
path: root/common/hwconfig.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-03-14 01:07:33 (GMT)
committerTom Rini <trini@konsulko.com>2016-03-22 16:16:10 (GMT)
commitfb24112c19f1544129af938bb415b04241482f07 (patch)
tree9d59cc93977fabeeecf28cb6deda24b4cc1006a0 /common/hwconfig.c
parent045e6f0d4f49c83375cd30b35fb7f02d7a79478e (diff)
downloadu-boot-fb24112c19f1544129af938bb415b04241482f07.tar.xz
Allow command code to compile to nothing
When CONFIG_CMDLINE is disabled we need to remove all the command-line code. Most can be removed by dropping the appropriate linker lists from the images, but sub-commands must be dealt with specially. A simple mechanism is used to avoid 'unused static function' errors. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/hwconfig.c')
0 files changed, 0 insertions, 0 deletions