]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit4041853817f82d0ae84ccfc6bc9ba7791f3f445c
tree07540151d7ed265e4a90448e9dbba7051f986d8c
parentdb32c70be9026e8edc67fb2c96f970690edfd6f2
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