mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-31 11:01:19 +00:00
Setting HICTRL.FW_OBF clears the HIKMST.OBF and STATUS.OBF flags but it does not deassert IRQ1 when already asserted. To make sure IRQ1 will also be deasserted need to emulate a host read. Modified drivers: 1. lpc.c: emulate a host read to clear OBF and deasserted IRQ1. BRANCH=none BUG=chrome-os-partner:34346 TEST=make buildall; Run FAFT items related to Power on/off, reboot, and keyboard on Wheatley. Change-Id: Ibf0ff3b8a4eeece853916e4e19d67fcc7ae2e989 Signed-off-by: CHLin <CHLIN56@nuvoton.com> Reviewed-on: https://chromium-review.googlesource.com/419909 Commit-Ready: Aaron Durbin <adurbin@chromium.org> Tested-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>