diff options
author | Bill XIE <persmule@gmail.com> | 2017-10-26 11:55:34 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2017-11-07 12:26:51 +0000 |
commit | 54f45c684c2daaef92cbe6c4672a7295d0469c56 (patch) | |
tree | d8d51339c8108aec188936adb928e307a1a4b5e3 /src/lib/memchr.c | |
parent | eb4ded6925d147478fb75a4afcfb6534a2faaa5a (diff) |
ec/lenovo/h8: Clear EC output queue before enablement
Sometimes (observed on Thinkpad T400s during cold boot) a few (only one
observed) garbage bytes may detained in the output queue of EC after power
up, and they should be cleared otherwise later communications will be
disrupted.
Change-Id: Id1733f7350232d0b10ac0d1bc912b62e7fa4da75
Signed-off-by: Bill XIE <persmule@gmail.com>
Reviewed-on: https://review.coreboot.org/22181
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Maximilian Schander <coreboot@mimoja.de>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/lib/memchr.c')
0 files changed, 0 insertions, 0 deletions