]> git.baikalelectronics.ru Git - uboot.git/commit
serial: Allow serial to be absent in TPL
authorSimon Glass <sjg@chromium.org>
Mon, 1 Oct 2018 18:22:20 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 9 Oct 2018 10:40:27 +0000 (04:40 -0600)
commit7aa9449e401c674b626d45364f59e7e33f890e5a
treed193f25cae0670f87c5d524afa96c186bb8444df
parentb5a7f65d778ec30042291a287937b44bf6123d9b
serial: Allow serial to be absent in TPL

At present this option applies to SPL, but it should be available in TPL
also, and separately. Change to using CONFIG_IS_ENABLED(), add a new
Kconfig option and fix up hang().

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/serial/Kconfig
drivers/serial/serial-uclass.c
lib/hang.c