mb/intel/kblrvp: Enable HD Audio for rvp3
Enable Azalia controller, HD Audio DSP and select the HDAudio IoBuffer Ownership for rvp3. Check if device is enabled in HDA codec init function to avoid failure when Azalia controller is disabled in the devicetree.cb. BUG=None TEST=Build for kblrvp3, Make sure booting is fine irrespective of HDA enable/disable. Change-Id: I87212fe16ecc6053d6d00372904a5fd5d6f6b209 Signed-off-by: V Sowmya <v.sowmya@intel.com> Reviewed-on: https://review.coreboot.org/20530 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
76b93fe05f
commit
1440c66b16
|
@ -63,7 +63,7 @@ static void mb_hda_codec_init(void *unused)
|
|||
|
||||
/* Find base address */
|
||||
dev = dev_find_slot(0, PCH_DEVFN_HDA);
|
||||
if (dev == NULL)
|
||||
if (dev == NULL || dev->enabled == 0)
|
||||
return;
|
||||
res = find_resource(dev, PCI_BASE_ADDRESS_0);
|
||||
if (!res)
|
||||
|
|
|
@ -24,6 +24,9 @@ chip soc/intel/skylake
|
|||
register "dptf_enable" = "1"
|
||||
|
||||
# FSP Configuration
|
||||
register "EnableAzalia" = "1"
|
||||
register "DspEnable" = "1"
|
||||
register "IoBufferOwnership" = "0"
|
||||
register "SmbusEnable" = "1"
|
||||
register "ScsEmmcEnabled" = "1"
|
||||
register "ScsEmmcHs400Enabled" = "1"
|
||||
|
|
Loading…
Reference in New Issue