console: Don't enable CONFIG-CONSOLE_MUX, etc. in SPL
authorSimon Glass <sjg@chromium.org>
Mon, 16 Jan 2017 14:03:26 +0000 (07:03 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 6 Feb 2017 03:38:46 +0000 (11:38 +0800)
commitb0265429469dde300e3dc2a2c1dce789014c7208
tree07540151d7ed265e4a90448e9dbba7051f986d8c
parent7cbaddd4ad8ea760fd9c055f850a21298315d1d9
console: Don't enable CONFIG-CONSOLE_MUX, etc. in SPL

CONFIG_CONSOLE_MUX and CONFIG_SYS_CONSOLE_IS_IN_ENV are not applicable
for SPL. Update the console code to use CONFIG_IS_ENABLED(), so that these
options will be inactive in SPL.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
common/console.c
common/iomux.c
common/usb_kbd.c