summaryrefslogtreecommitdiff
path: root/src/include/swab.h
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2014-08-25 15:06:18 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-03-20 10:00:47 +0100
commit8dd4f98222405b01188c5f80eb08ac97172f58e4 (patch)
treed69fadbcce62f3c1886acffecd4ed2a2de6f092e /src/include/swab.h
parent7aebf3269a086b6d4027a0746f8924ad07c92d60 (diff)
libpayload console: Add check for already existing driver
Add support to check if the driver for console_out or console_in is already present in the list. If console_init is called twice, then the driver might get added twice leading to a loop. BUG=None BRANCH=None TEST=With console_init in libpayload and depthcharge both, there are no console loops seen anymore Change-Id: I9103230dfe88added28c51bff33ea4fa1ab034c1 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 6931236ba2cfa71849973fe41cc340b7d70656ad Original-Change-Id: If9a927318b850ec59619d92b1da4dddd0aa09cd1 Original-Signed-off-by: Furquan Shaikh <furquan@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/214072 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Original-Tested-by: Furquan Shaikh <furquan@chromium.org> Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org> Reviewed-on: http://review.coreboot.org/8739 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/include/swab.h')
0 files changed, 0 insertions, 0 deletions