diff options
author | Tom Rini <trini@konsulko.com> | 2019-10-30 09:18:43 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-11-06 22:54:28 -0500 |
commit | 5e63c96aa7b4e7fd8758cdc4753eece3a42481e0 (patch) | |
tree | 2de396f46391fac78a74690790f004d73a32d75b /drivers/ddr/imx/imx8m/ddr_init.c | |
parent | 0f282c1876af26cc2c8c018ae6293a691561011e (diff) | |
download | u-boot-5e63c96aa7b4e7fd8758cdc4753eece3a42481e0.tar.gz u-boot-5e63c96aa7b4e7fd8758cdc4753eece3a42481e0.tar.xz u-boot-5e63c96aa7b4e7fd8758cdc4753eece3a42481e0.zip |
common/console.c: Fix unused warning with console_doenv()
Newer versions of LLVM-7 will provide an unused function warning over
console_doenv() in the case of SYS_CONSOLE_IS_IN_ENV not being enabled
as can be the case in SPL. Add guards around this function.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddr_init.c')
0 files changed, 0 insertions, 0 deletions