]> git.baikalelectronics.ru Git - uboot.git/commit
x86: ivybridge: Add a way to get the HDA config setting
authorSimon Glass <sjg@chromium.org>
Sun, 17 Feb 2019 03:24:52 +0000 (20:24 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 20 Feb 2019 07:27:08 +0000 (15:27 +0800)
commitd3c3e0b0845cc6a57e33268e908c84b0458bd71c
tree170a6e60db542b4d2195b2442249426bc3593b0c
parent9f850737a463148842c96c09b35f4b54d50df9d3
x86: ivybridge: Add a way to get the HDA config setting

Add a way check to whether HD audio is enabled. Use ioctl() to avoid
adding too many unusual operations to PCH.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/ivybridge/bd82x6x.c
include/pch.h