diff options
author | Frans Hendriks <fhendriks@eltan.com> | 2019-04-02 15:06:29 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-04-04 10:36:56 +0000 |
commit | 2c63017ca356bd245b3b09d1001586c019f5fa05 (patch) | |
tree | c1a694d89f4f6e1363948f9384fbc635672ce1e6 /src/device/device.c | |
parent | e8fb3dfa6ca84976ad43563caa01a88eba9ba495 (diff) |
soc/intel/braswell: Correct serial IRQ support
Serial IRQ was configured in quiet mode, but not enabled.
Enable serial IRQ and use 'enum seriirq_mode' as a devicetree
option.
Function sc_enable_serial_irqs() is added to enabled serial IRQs.
enable_serirq_quiet_mode() is renamed to
sc_set_serial_irqs_mode(). This function use the 'serirq_mode' to
set the mode. The call to this function is moved from finalize to init
having serial IRQs enable in early stage.
Serial IRQs must be enabled in continuous mode for at least one frame
before switching into quiet mode.
BUG=N/A
TEST=Portwell PQ7-M107
Change-Id: I7844cad69dc0563fa6109d779d0afb7c2edd7245
Signed-off-by: Frans Hendriks <fhendriks@eltan.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/29398
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Diffstat (limited to 'src/device/device.c')
0 files changed, 0 insertions, 0 deletions