summaryrefslogtreecommitdiff
path: root/board/atmel
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-05-09 02:14:34 (GMT)
committerTom Rini <trini@konsulko.com>2017-05-12 12:37:33 (GMT)
commit82b9dc63db41ab7601a4caa31922ac58bf1160ef (patch)
treee9d138215f37421fedb05fcffbb96138b1a52ec5 /board/atmel
parent65a4771085e644c45a129dcc71eb3ab9f1bb24ca (diff)
downloadu-boot-fsl-qoriq-82b9dc63db41ab7601a4caa31922ac58bf1160ef.tar.xz
common: Only build cli_readline.o for CMDLINE on non-SPL
With gcc-6 and later we may get a warning such as: .../common/cli_readline.c:20:21: warning: ‘tab_seq’ defined but not used [-Wunused-const-variable=] static const char tab_seq[] = " "; /* used to expand TABs */ ^~~~~~~ .../common/cli_readline.c:19:19: warning: ‘erase_seq’ defined but not used [-Wunused-const-variable=] static const char erase_seq[] = "\b \b"; /* erase sequence */ ^~~~~~~~~ Because in SPL we're normally not doing interactive commands anyhow, so lets just not compile this at all in SPL. This also means that we need to correct the logic (and comment) about what the drivers/ddr/fsl/ and CONFIG_FSL_DDR_INTERACTIVE requires and this will be included in SPL there. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/atmel')
0 files changed, 0 insertions, 0 deletions