diff options
| author | Simon Glass <sjg@chromium.org> | 2016-03-13 19:07:33 -0600 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2016-03-22 12:16:10 -0400 |
| commit | fb24112c19f1544129af938bb415b04241482f07 (patch) | |
| tree | 9d59cc93977fabeeecf28cb6deda24b4cc1006a0 /include/linux | |
| parent | 045e6f0d4f49c83375cd30b35fb7f02d7a79478e (diff) | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
